commit | d91df648433d785f334e1486078d3968a56ffc20 | [log] [tgz] |
---|---|---|
author | Shazron Abdullah <shazron@apache.org> | Thu Nov 20 13:45:44 2014 -0800 |
committer | Shazron Abdullah <shazron@apache.org> | Thu Nov 20 13:45:44 2014 -0800 |
tree | 2f0ddbd11744c92e6c6def76ed79fdcb581c63b1 | |
parent | 2bdc3e574340d9030c3cddb0ee70508967037c2a [diff] |
Changed wkwebview-engine doc to reflect expectations of completeness of the plugin.
This plugin makes Cordova
use the WKWebView
component (new in iOS 8.0) instead of the default UIWebView
component.
This will also install the Cordova Local WebServer
plugin.
This plugin currently needs to use the wkwebview
branch of cordova-ios
.
To alpha test
this:
You may have to remove the cached wkwebview platform:
rm -rf ~/.cordova/lib/ios/cordova/wkwebview
Then:
cordova create wkwvtest my.project.id wkwvtest cd wkwvtest cordova platform add ios@wkwebview --usegit cordova plugin add https://github.com/apache/cordova-plugins.git#master:wkwebview-engine
<feature name="CDVWKWebViewEngine"> <param name="ios-package" value="CDVWKWebViewEngine" /> </feature> <preference name="CordovaWebViewEngine" value="CDVWKWebViewEngine" />
When you build, it might complain of a linking error. This is a plugman
bug that does not install WebKit.framework
properly. Open up your project file in Xcode
and add it manually.
If you are using the CLI, open Xcode
by:
open -a Xcode platforms/ios