Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/timbru31/cordova-plugin-detect-webview-engine
🅰️ ⁉️ 🅱️ Apache Cordova plugin to determine whether the application is using UIWebView or WKWebView engine
https://github.com/timbru31/cordova-plugin-detect-webview-engine
cordova cordova-ios-plugin cordova-plugin hacktoberfest ionic ionic-plugin ios javascript phonegap phonegap-plugin swift typescript uiwebview wkwebview wkwebview-engine
Last synced: 3 months ago
JSON representation
🅰️ ⁉️ 🅱️ Apache Cordova plugin to determine whether the application is using UIWebView or WKWebView engine
- Host: GitHub
- URL: https://github.com/timbru31/cordova-plugin-detect-webview-engine
- Owner: timbru31
- License: mit
- Created: 2017-11-07T20:22:06.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2024-09-26T23:24:21.000Z (4 months ago)
- Last Synced: 2024-10-02T09:45:27.286Z (4 months ago)
- Topics: cordova, cordova-ios-plugin, cordova-plugin, hacktoberfest, ionic, ionic-plugin, ios, javascript, phonegap, phonegap-plugin, swift, typescript, uiwebview, wkwebview, wkwebview-engine
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/cordova-plugin-detect-webview-engine
- Size: 592 KB
- Stars: 6
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# cordova-plugin-detect-webview-engine
[![Linting](https://github.com/timbru31/cordova-plugin-detect-webview-engine/workflows/Linting/badge.svg)](https://github.com/timbru31/cordova-plugin-detect-webview-engine/actions?query=workflow%3ALinting)
[![Security](https://github.com/timbru31/cordova-plugin-detect-webview-engine/workflows/Security/badge.svg)](https://github.com/timbru31/cordova-plugin-detect-webview-engine/actions?query=workflow%3ASecurity)[![Known Vulnerabilities](https://snyk.io/test/github/timbru31/cordova-plugin-detect-webview-engine/badge.svg)](https://snyk.io/test/github/timbru31/cordova-plugin-detect-webview-engine)
[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](https://commitizen.github.io/cz-cli/)
[![License](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
[![npm](https://img.shields.io/npm/v/cordova-plugin-detect-webview-engine.svg)](https://www.npmjs.com/package/cordova-plugin-detect-webview-engine)#### Apache Cordova plugin to determine whether the application is using UIWebView or WKWebView engine
### Supported platforms
- **iOS**
### 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
```js
cordova.plugins.webviewEngine.isUIWebView().then((isUIWebView) => {
// returns true or false
});
```#### Check for WKWebView
```js
cordova.plugins.webviewEngine.isWKWebView().then((isWKWebView) => {
// returns true or false
});
```---
Built by (c) Tim Brust and contributors. Released under the MIT license.