While searching for an answer in google, it seems that I\'m not the only one stuck with a problem that seems impossible to solve.
I\'ve managed to create a WebView w
Similar to @mdelolmo answer, but in Kotlin:
webview.setWebChromeClient(WebChromeClient()) webview.setWebViewClient(WebViewClient()) webview.clearCache(true) webview.clearHistory() webview.getSettings().setJavaScriptEnabled(true) webview.getSettings().setJavaScriptCanOpenWindowsAutomatically(true)