diff --git a/android/src/main/java/ee/forgr/capacitor_inappbrowser/WebViewDialog.java b/android/src/main/java/ee/forgr/capacitor_inappbrowser/WebViewDialog.java index 0c93646..9c04cb7 100644 --- a/android/src/main/java/ee/forgr/capacitor_inappbrowser/WebViewDialog.java +++ b/android/src/main/java/ee/forgr/capacitor_inappbrowser/WebViewDialog.java @@ -59,6 +59,7 @@ public void presentWebView() { _webView.getSettings().setJavaScriptCanOpenWindowsAutomatically(true); _webView.getSettings().setDatabaseEnabled(true); _webView.getSettings().setDomStorageEnabled(true); + _webView.getSettings().setAllowFileAccess(true); _webView .getSettings() .setPluginState(android.webkit.WebSettings.PluginState.ON);