Experimental plugin to switch the webview at runtime. Please read warning before trying.
If callbacks from plugins fire after reloading the webview, the app will crash.
Use with caution!
load() the main view in the app will restart!
iOS only now
WebViews must be installed as plugins such as:
Install WKWebview plugin(s) and configure it as default in config.xml:
WebviewSwitch which has the funtion
- Switch to default Cordova UIWebview at runtime:
- Switch to WKWebview at runtime:
- The In-App-Browser plugin works too and shares the session. But don´t forget to set
usewkwebviewto the correct value if you need a shared session.