Hi,
I'm searching a way to open a PDF (stored in local) in the Android default PDF reader in Xamarin.Forms.
I'm using a webview for iOS but WebViews on Android cannot open a local PDF.
var browser = new WebView ();
if (Device.OS == TargetPlatform.iOS) {
browser.Source = @App.DocumentUrl;
} else if (Device.OS == TargetPlatform.Android) {
Device.OpenUri (new Uri (@App.DocumentUrl)); // Don't work
}
Content = browser;
Did someone have a solution ?
Thanks.