CB-8666 - Update CDVWKWebViewEngine plugin to use 4.0.x branch code
Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-wkwebview-engine/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-wkwebview-engine/commit/46d633fd Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-wkwebview-engine/tree/46d633fd Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-wkwebview-engine/diff/46d633fd Branch: refs/heads/master Commit: 46d633fddeed590bea1dc193097ff8e02b3c21a3 Parents: d91df64 Author: Shazron Abdullah <[email protected]> Authored: Fri Mar 13 13:00:33 2015 -0700 Committer: Shazron Abdullah <[email protected]> Committed: Fri Mar 13 13:00:33 2015 -0700 ---------------------------------------------------------------------- README.md | 8 ++++---- plugin.xml | 4 ++-- src/ios/CDVWKWebViewEngine.m | 1 + 3 files changed, 7 insertions(+), 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-plugin-wkwebview-engine/blob/46d633fd/README.md ---------------------------------------------------------------------- diff --git a/README.md b/README.md index 836e8ef..d810624 100644 --- a/README.md +++ b/README.md @@ -5,19 +5,19 @@ This plugin makes `Cordova` use the `WKWebView` component (new in iOS 8.0) inste This will also install the `Cordova Local WebServer` plugin. -This plugin currently needs to use the `wkwebview` branch of `cordova-ios`. +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 wkwebview platform: +You may have to remove the cached 4.0.x platform: - rm -rf ~/.cordova/lib/ios/cordova/wkwebview + rm -rf ~/.cordova/lib/ios/cordova/4.0.x Then: cordova create wkwvtest my.project.id wkwvtest cd wkwvtest - cordova platform add ios@wkwebview --usegit + cordova platform add [email protected] --usegit cordova plugin add https://github.com/apache/cordova-plugins.git#master:wkwebview-engine Permissions http://git-wip-us.apache.org/repos/asf/cordova-plugin-wkwebview-engine/blob/46d633fd/plugin.xml ---------------------------------------------------------------------- diff --git a/plugin.xml b/plugin.xml index e734892..0e68120 100644 --- a/plugin.xml +++ b/plugin.xml @@ -4,7 +4,7 @@ xmlns:rim="http://www.blackberry.com/ns/widgets" xmlns:android="http://schemas.android.com/apk/res/android" id="org.apache.cordova.labs.wkwebviewengine" - version="0.1.0"> + version="0.2.0"> <name>Cordova WKWebView Engine</name> <description>Cordova WKWebView Engine Plugin</description> <license>Apache 2.0</license> @@ -12,7 +12,7 @@ <repo>https://git-wip-us.apache.org/repos/asf/cordova-plugins.git</repo> <engines> - <engine name="cordova" version=">3.7.0" /> + <engine name="cordova" version=">=4.0.0" /> </engines> <dependency id="org.apache.cordova.labs.local-webserver" url="https://git-wip-us.apache.org/repos/asf/cordova-plugins.git#master:local-webserver" version=">=2.1.0" /> http://git-wip-us.apache.org/repos/asf/cordova-plugin-wkwebview-engine/blob/46d633fd/src/ios/CDVWKWebViewEngine.m ---------------------------------------------------------------------- diff --git a/src/ios/CDVWKWebViewEngine.m b/src/ios/CDVWKWebViewEngine.m index de69ddd..c19d7e2 100644 --- a/src/ios/CDVWKWebViewEngine.m +++ b/src/ios/CDVWKWebViewEngine.m @@ -19,6 +19,7 @@ #import "CDVWKWebViewEngine.h" #import "CDVWKWebViewUIDelegate.h" +#import <Cordova/NSDictionary+CordovaPreferences.h> #import <objc/message.h> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
