Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

WebView Events - Open Some Links in Device Browser

$
0
0

I need events for the Xamarin.Forms.WebView so I can intercept URLs that are "off site" and open them in the Device's browser (instead of the WebView).

Primarily, I need an ShouldLoadRequest(url) (true if webview should handle, false if should be forwarded to Device browser).

Both iOS and Android support this:

iOS: WebView.ShouldStartLoad
(http://stackoverflow.com/questions/21851412/xamarin-ios-c-sharp-open-links-in-safari-from-uiwebview)

Android: WebViewClient.shouldOverrideUrlLoading
(http://stackoverflow.com/questions/8540343/open-link-from-android-webview-in-normal-browser-as-popup)

This is an essential and missing piece to my hybrid application which revolves around a Xamarin.Forms menu/hud and a WebView of our web application. Can you please add this functionality to the Xamarin.Forms.WebView control -- if so when can we expect it?


Viewing all articles
Browse latest Browse all 77050

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>