Last active
November 30, 2018 06:35
setting up the WebView
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
WebSettings webSettings = webView.getSettings(); | |
webSettings.setJavaScriptEnabled(true); | |
webSettings.setDomStorageEnabled(true); | |
webSettings.setMixedContentMode(MIXED_CONTENT_ALWAYS_ALLOW); //Not needed if asked to override | |
webView.loadUrl("https://your_web_app_url"); | |
webView.setWebViewClient(new MyWebViewClient()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment