enable cache

pull/653/merge
Varun Patil 2023-10-03 11:54:39 -07:00
parent 222db00efa
commit 07b4d0dbc4
1 changed files with 2 additions and 2 deletions

View File

@ -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()