-
Notifications
You must be signed in to change notification settings - Fork 560
Closed
Labels
need-infoIssues that need more information from the author.Issues that need more information from the author.
Milestone
Description
Steps to Reproduce
- Open the pdf in the webview using google docs link.
- Open the same pdf or different pdf again and again.
- Sometimes it will show the blank/white page in the android untill we refresh the webpage again for 1 or 2 times.
Code
public void SetWebView(WebView webview,string externalUrl){
webview.Tag = "webview";
webview.Settings.JavaScriptEnabled = true;
webview.Settings.SupportZoom ();
webview.Settings.SetAppCacheEnabled(true);
webview.Settings.DomStorageEnabled = true;
webview.ZoomOut ();
webview.ZoomIn ();
webview.Settings.BuiltInZoomControls = true;
webview.Settings.LoadWithOverviewMode = true;
webview.Settings.UseWideViewPort = true;
//webview.Settings.SetSupportZoom (true);
webview.Settings.SetPluginState (WebSettings.PluginState.On);
webview.Settings.GetPluginState ();
if (externalUrl.StartsWith("http://") || externalUrl.StartsWith("https://"))
webview.LoadUrl (externalUrl);
webview.SetWebViewClient (new MonkeyWebViewClient (imgViewBack, imgViewForward, imgRefresh));
webview.SetWebChromeClient (new WebChromeClient ());
`}`
AmitMalhi and araratthehero
Metadata
Metadata
Assignees
Labels
need-infoIssues that need more information from the author.Issues that need more information from the author.