Skip to content

Commit

Permalink
Fix Boilerplate MauiExternalNavigationService in Android (#7741)
Browse files Browse the repository at this point in the history
  • Loading branch information
ysmoradi committed Jun 8, 2024
1 parent d6329f5 commit 4b6cac5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ public class MauiExternalNavigationService : IExternalNavigationService
{
public async Task NavigateToAsync(string url)
{
await Browser.OpenAsync(url, BrowserLaunchMode.External);
await Browser.OpenAsync(url, OperatingSystem.IsAndroid() ? BrowserLaunchMode.SystemPreferred : BrowserLaunchMode.External);
}
}

0 comments on commit 4b6cac5

Please sign in to comment.