Skip to content
This repository was archived by the owner on Jan 10, 2024. It is now read-only.

Commit 09948ed

Browse files
authored
Merge pull request #97 from shiv19/patch-1
Update webview-ext.android.ts
2 parents df72b9a + 1cdab82 commit 09948ed

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/webview-ext.android.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -488,6 +488,8 @@ export class WebViewExt extends WebViewExtBase {
488488

489489
// Needed for the bridge library
490490
settings.setJavaScriptEnabled(true);
491+
492+
settings.setAllowFileAccess(true); // Needed for Android 11
491493

492494
settings.setBuiltInZoomControls(!!this.builtInZoomControls);
493495
settings.setDisplayZoomControls(!!this.displayZoomControls);

0 commit comments

Comments
 (0)