enable WebView DOM storage (#522)

This commit is contained in:
Michael Kwok 2020-07-25 19:28:59 -06:00 committed by GitHub
parent 718165a58e
commit 5eb5042622
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -177,6 +177,8 @@ class WebViewActivity : BaseActivity() {
insets
}
webview.settings.javaScriptEnabled = true
webview.settings.domStorageEnabled = true
webview.settings.userAgentString = source.headers["User-Agent"]
webview.loadUrl(url, headers)
} else {