Android-AdvancedWebView
Android-AdvancedWebView copied to clipboard
ERR_ACCESS_DENIED
Hello,
I ll try to switch my application from Webview to your AdvancedWebView but when i try lo load this
wv.loadUrl("file:///${filesDir.path}/mywebsite/index.html?id=browser-bbaia")
I have ERR_ACCESS_DENIED on the AdvancedWebView. But it's work with normal WebView
Do you have any idea ?
Does one of these two calls help?
mWebView.getSettings().setAllowFileAccess(true);
// or
mWebView.setAllowAccessFromFileUrls(mWebView.getSettings(), true);
Ideally, you should test them in isolation (and only use both if necessary), so that we know which one is needed.