I would like to know why my JavaScript won't execute in the my WebView. In my app, I am displaying a custom webview on top of the main view on app start by overriding MainActivity'
Solution 1:
The problem was that I had to use WebSettings#setJavaScriptEnabled to enable JavaScript execution.
By default, the setJavaScriptEnabled is set to false. That was why my JavaScript was not running.
Post a Comment for "Cordova Android: No Js When Displaying A Custom Webview On App Start"