enable cache
parent
222db00efa
commit
07b4d0dbc4
|
@ -172,8 +172,8 @@ class MainActivity : AppCompatActivity() {
|
||||||
binding.webview.addJavascriptInterface(nativex, "nativex")
|
binding.webview.addJavascriptInterface(nativex, "nativex")
|
||||||
binding.webview.setLayerType(View.LAYER_TYPE_HARDWARE, null)
|
binding.webview.setLayerType(View.LAYER_TYPE_HARDWARE, null)
|
||||||
binding.webview.setBackgroundColor(Color.TRANSPARENT)
|
binding.webview.setBackgroundColor(Color.TRANSPARENT)
|
||||||
binding.webview.clearCache(true)
|
// binding.webview.clearCache(true)
|
||||||
WebView.setWebContentsDebuggingEnabled(true);
|
// WebView.setWebContentsDebuggingEnabled(true);
|
||||||
|
|
||||||
// Welcome page or actual app
|
// Welcome page or actual app
|
||||||
nativex.account.refreshAuthHeader()
|
nativex.account.refreshAuthHeader()
|
||||||
|
|
Loading…
Reference in New Issue