Enable localStorage in WebView
This commit is contained in:
parent
7753161332
commit
a106104027
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user