1.0.1 • Published 6 years ago
cordova-plugin-uiwebview-engine v1.0.1
| AppVeyor | Travis CI |
|---|---|
Cordova UIWebView Engine
This plugin makes Cordova use the UIWebView component instead of the default WKWebView component.
Installation
This plugin needs cordova-ios >4.0.0.
To install the current release:
cordova create uiwvtest my.project.id uiwvtest
cd uiwvtest
cordova platform add ios@4
cordova plugin add cordova-plugin-uiwebview-engineTo test the development version:
cordova create uiwvtest my.project.id wkwvtest
cd uiwvtest
cordova platform add https://github.com/apache/cordova-ios.git#master
cordova plugin add https://github.com/apache/cordova-plugin-uiwebview-engine.git#masterYou also must have at least Xcode 7 (iOS 9 SDK) installed. Check your Xcode version by running:
xcode-select --print-pathRequired Permissions
UIWebView may not fully launch (the deviceready event may not fire) unless if the following is included in config.xml. This should already be installed by Cordova in your platform config.xml when the plugin is installed.
config.xml
<feature name="BPRUIWebViewEngine">
<param name="ios-package" value="BPRUIWebViewEngine" />
</feature>
<preference name="CordovaWebViewEngine" value="BPRUIWebViewEngine" />Application Transport Security (ATS) in iOS 9
Starting with cordova-cli 5.4.0, it will support automatic conversion of the <access> tags in config.xml to Application Transport Security ATS directives.
Upgrade to at least version 5.4.0 of the cordova-cli to use this new functionality.
Supported Platforms
- iOS