incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shaz...@apache.org
Subject ios commit: Updated the Cordova Plugin Upgrade Guide
Date Wed, 18 Jul 2012 00:05:03 GMT
Updated Branches:
  refs/heads/master d4566d382 -> ace56024c


Updated the Cordova Plugin Upgrade Guide


Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/commit/ace56024
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/tree/ace56024
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/diff/ace56024

Branch: refs/heads/master
Commit: ace56024c22099edc63f1470b243366a630ebf80
Parents: d4566d3
Author: Shazron Abdullah <shazron@apache.org>
Authored: Tue Jul 17 17:04:54 2012 -0700
Committer: Shazron Abdullah <shazron@apache.org>
Committed: Tue Jul 17 17:04:54 2012 -0700

----------------------------------------------------------------------
 guides/Cordova Plugin Upgrade Guide.md |   16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/ace56024/guides/Cordova
Plugin Upgrade Guide.md
----------------------------------------------------------------------
diff --git a/guides/Cordova Plugin Upgrade Guide.md b/guides/Cordova Plugin Upgrade Guide.md
index 1cf0177..6f08c04 100644
--- a/guides/Cordova Plugin Upgrade Guide.md	
+++ b/guides/Cordova Plugin Upgrade Guide.md	
@@ -22,6 +22,22 @@
 
 This document is for developers who need to upgrade their Cordova  plugins to a newer Cordova
version. Starting with Cordova 1.5.0, some classes have been renamed, which will require the
plugin to be upgraded. Make sure your project itself has been upgraded using the "Cordova
Upgrade Guide" document.
 
+## Upgrading older Cordova plugins to 2.0.0 ##
+
+1. **Install** Cordova 2.0.0
+2. Follow the **"Upgrading older Cordova plugins to 1.9.0"** section, if necessary
+3. No changes in plugin structure from 1.9.x
+4. Change in import header use: in 2.0.0, Cordova projects use the CordovaLib project as
a subproject, it now uses the CORDOVA_FRAMEWORK styled import like this:
+
+        #import <Cordova/CDV.h>
+        
+   instead of like this:
+   
+        #import "CDV.h"
+        
+    So now in 2.0.0, Cordova import headers are unified.
+        
+
 ## Upgrading older Cordova plugins to 1.9.0 ##
 
 1. **Install** Cordova 1.9.0


Mime
View raw message