balazsgerlei / SecureWebView

Android WebView wrapper with secure defaults to avoid security issues caused by misconfiguring WebViews.
Creative Commons Zero v1.0 Universal
3 stars 2 forks source link

Fix crash in shouldBlockRequest #12

Closed marazmarci closed 2 months ago

marazmarci commented 3 months ago

Fixes #11 by adding a new private property called allowFileAccess, so calling webView.getSettings().getAllowFileAccess() is not needed.