commit | 46d633fddeed590bea1dc193097ff8e02b3c21a3 | [log] [tgz] |
---|---|---|
author | Shazron Abdullah <shazron@apache.org> | Fri Mar 13 13:00:33 2015 -0700 |
committer | Shazron Abdullah <shazron@apache.org> | Fri Mar 13 13:00:33 2015 -0700 |
tree | dc638ef2bf71c481c60aed482bcbff18b1037a40 | |
parent | d91df648433d785f334e1486078d3968a56ffc20 [diff] |
CB-8666 - Update CDVWKWebViewEngine plugin to use 4.0.x branch code
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 4.0.x
branch of cordova-ios
.
To alpha test
this:
You may have to remove the cached 4.0.x platform:
rm -rf ~/.cordova/lib/ios/cordova/4.0.x
Then:
cordova create wkwvtest my.project.id wkwvtest cd wkwvtest cordova platform add ios@4.0.x --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