-
Notifications
You must be signed in to change notification settings - Fork 693
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open a Browser Window with Javascript on Xamarin.Forms #2633
Comments
@berkbb: Answered on Stack Overflow...
|
Hi. I solved it via Customizing via WebView: Wish that Xamarin.Essentials start works on WASM. Try to create the webView custom renderer that extends the WebView to The process for WebView Renderer:
1.Create the HybridWebView
2.Consume the HybridWebView
3.Create the custom renderer on UWP
At the last, call function from code:
|
Hi, I am using Device.OpenUri and it works in WASM with Xamarin.Forms |
Thanks. I will try again :) |
Hi
I have a Xamarin.Forms app. It includes a button like this:
I'm sending a URL link to click event for opening specific web page. Code is:
In UWP, Xamarin.iOS and Xamarin. Android this code is running via Xamarin.Esssentials:
However, my Xamarin.Forms app projected to WebAssembly code with Uno Platform, so this code block not running. As a result. I install Jint to Xamarin.Forms app. This catch block prints the link to Browser console, but no window.open function track in API reference:
How can I open WebBrowser page on WASM via Javascript form Xamarin.Forms C# code? Thanks.
The text was updated successfully, but these errors were encountered: