Hello, I'm new to kotlin and am using a Project in webview to mirror a site in the App.
Hello, I'm new to kotlin and am using a Project in webview to mirror a site in the App.
What I really needed was to access external links within the application itself without calling a browser to open it. I solved this problem with this Project . Thank you all for the help:)
Some factors can cause this behavior, one of them is the version of the API that is running your WebView, check the API version. But some settings can help resolve this behavior, such as:
mWebView.webViewClient = WebViewClient()
mWebView.settings.setAppCacheEnabled (true)
mWebView.settings.javaScriptEnabled = true
mWebView.settings.loadWithOverviewMode = true
mWebView.settings.allowFileAccess = true
mWebView.settings.allowContentAccess = true