๐ ฐ๏ธ โ๏ธ ๐ ฑ๏ธ Apache Cordova plugin to determine whether the application is using UIWebView or WKWebView engine
MIT License
$ cordova plugin add cordova-plugin-detect-webview-engine
$ cordova plugin add https://github.com/timbru31/cordova-plugin-detect-webview-engine.git
cordova.plugins.webviewEngine.isUIWebView().then((isUIWebView) => {
// returns true or false
});
cordova.plugins.webviewEngine.isWKWebView().then((isWKWebView) => {
// returns true or false
});
Built by (c) Tim Brust and contributors. Released under the MIT license.