Enable localStorage in WebView

This commit is contained in:
arkon 2020-06-09 09:15:43 -04:00
parent 7753161332
commit a106104027

View file

@ -78,6 +78,7 @@ class WebViewActivity : BaseActivity<WebviewActivityBinding>() {
} }
binding.webview.settings.javaScriptEnabled = true binding.webview.settings.javaScriptEnabled = true
binding.webview.settings.domStorageEnabled = true
binding.webview.webChromeClient = object : WebChromeClient() { binding.webview.webChromeClient = object : WebChromeClient() {
override fun onProgressChanged(view: WebView?, newProgress: Int) { override fun onProgressChanged(view: WebView?, newProgress: Int) {