cordova-plugin-detect-webview-engine
![Build Status](https://travis-ci.org/timbru31/cordova-plugin-detect-webview-engine.svg?branch=master)
![Known Vulnerabilities](https://snyk.io/test/github/timbru31/cordova-plugin-detect-webview-engine/badge.svg)
![npm](https://img.shields.io/npm/v/cordova-plugin-detect-webview-engine.svg)
Cordova plugin to determine whether the application is using UIWebView or WKWebView engine
Supported platforms
Installation
from npm (recommended)
$ cordova plugin add cordova-plugin-detect-webview-engine
from git (unstable)
$ cordova plugin add https://github.com/timbru31/cordova-plugin-detect-webview-engine.git
Usage
Check for UIWebView
cordova.plugins.webviewEngine.isUIWebView().then(isUIWebView => {
});
Check for WKWebView
cordova.plugins.webviewEngine.isWKWebView().then(isWKWebView => {
});
Built by (c) Tim Brust and contributors. Released under the MIT license.