Open Browser (Xamarin.Essentials API of the Week)

Play Open Browser (Xamarin.Essentials API of the Week)

The Discussion

  • User profile image

    Hi James,

    Nice video.

    I have just a question:

    I was previously using a WebView to launch a website. Now i want to implement the Browser API.

    I am trying to call the Browser like:

    await Browser.OpenAsync("über");

    Saddly, and even though the WebView opens the website with the translation i am looking for, Browser launches the home page, as if it could not manage the exact request.

    Am i doing anything wrong, or is there a limitation i am not aware of?


  • User profile image
    Thank, Essantials are great, hope the evolve even more.

  • User profile image
    Why not just use Device.OpenUri(new Uri(@""))? It seems similar to BrowserLaunchMode.External.

    Obviously BrowserLaunchMode.SystemPreferred is a nice touch.

  • User profile image
    @ttirrell, the reason you would use this is because it works in any app not just Xamarin.Forms and also the SystemPreferred is a huge advantage compared to the External browser in performance and user experience. We also just added ways to have more control over colors and title :)
  • User profile image

    This interface doesn't seem to support any sort of authentication to the web site, nor the ability to add other request headers if needed.

Add Your 2 Cents