I have a Hybrid App with a Web View. Unfortunately, the Web View doesn't reproduce the same features of the default one. I have the following code:
webView.webViewClient = WebViewClient()
If I do that, not all JavaScript and HTML 5 code is executed in the right way even with the following line:
webView.settings.javaScriptEnabled = true
The most annoying problem is that I cannot access the camera pictures folder. I have also overloaded onPermissionRequest of WebChromeClient. If I let the web view unchanged by commenting the following line:
webView.webViewClient = WebViewClient() <<--- When this is commented the app works fine
Everything works fine, but the web view displays the address bar and I don't want it. I really do not understand why Google has produced such an ill-designed control compared to its competitors. Can anyone help me in finding a way of reproducing exactly the same capabilities of Chrome without displaying the address bar?