cordova-plugin-uiwebview-engine

1.0.1 • Public • Published
AppVeyor Travis CI
Build status Build Status

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-engine

To 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#master

You also must have at least Xcode 7 (iOS 9 SDK) installed. Check your Xcode version by running:

xcode-select --print-path

Required 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

Package Sidebar

Install

npm i cordova-plugin-uiwebview-engine

Weekly Downloads

1

Version

1.0.1

License

Apache-2.0

Unpacked Size

7.86 MB

Total Files

1422

Last publish

Collaborators

  • ifrodo