Socket
Book a DemoInstallSign in
Socket

cordova-plugin-detect-webview-engine

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cordova-plugin-detect-webview-engine

Cordova plugin to determine whether the application is using UIWebView or WKWebView engine

latest
Source
npmnpm
Version
3.0.1
Version published
Maintainers
1
Created
Source

cordova-plugin-detect-webview-engine

Build Status

Dependency Status devDependency Status Known Vulnerabilities

Commitizen friendly Dependabot Status License npm

Cordova plugin to determine whether the application is using UIWebView or WKWebView engine

Supported platforms

  • iOS

Installation

$ 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 => {
    // returns true or false
});

Check for WKWebView

cordova.plugins.webviewEngine.isWKWebView().then(isWKWebView => {
    // returns true or false
});

Built by (c) Tim Brust and contributors. Released under the MIT license.

Keywords

cordova

FAQs

Package last updated on 01 Aug 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts