You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by sh...@apache.org on 2012/05/26 01:13:05 UTC

ios commit: Updated Guides for 1.8.0

Updated Branches:
  refs/heads/master bebfd7aae -> 2746f4d37


Updated Guides for 1.8.0


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/2746f4d3
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/tree/2746f4d3
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/diff/2746f4d3

Branch: refs/heads/master
Commit: 2746f4d37bf6baba8e2a44abcac4e86020d8a8ba
Parents: bebfd7a
Author: Shazron Abdullah <sh...@apache.org>
Authored: Fri May 25 16:12:56 2012 -0700
Committer: Shazron Abdullah <sh...@apache.org>
Committed: Fri May 25 16:12:56 2012 -0700

----------------------------------------------------------------------
 guides/Cordova Plugin Upgrade Guide.md |    6 ++++++
 guides/Cordova Settings File.md        |    2 +-
 guides/Cordova Upgrade Guide.md        |   17 ++++++++++++++++-
 3 files changed, 23 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/2746f4d3/guides/Cordova Plugin Upgrade Guide.md
----------------------------------------------------------------------
diff --git a/guides/Cordova Plugin Upgrade Guide.md b/guides/Cordova Plugin Upgrade Guide.md
index 3e77470..5fef257 100644
--- a/guides/Cordova Plugin Upgrade Guide.md	
+++ b/guides/Cordova Plugin Upgrade Guide.md	
@@ -22,6 +22,12 @@
 
 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 1.8.0 ##
+
+1. **Install** Cordova 1.8.0
+2. Follow the **"Upgrading older Cordova plugins to 1.7.0"** section, if necessary
+3. No changes in plugin structure from 1.7.x
+
 ## Upgrading older Cordova plugins to 1.7.0 ##
 
 1. **Install** Cordova 1.7.0

http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/2746f4d3/guides/Cordova Settings File.md
----------------------------------------------------------------------
diff --git a/guides/Cordova Settings File.md b/guides/Cordova Settings File.md
index f785a09..69a4f2a 100644
--- a/guides/Cordova Settings File.md	
+++ b/guides/Cordova Settings File.md	
@@ -24,7 +24,7 @@ The **Cordova.plist settings file** controls various settings of Cordova. This i
 
 1. A list of **Plugins** allowed to be used in a CDVViewController (set in the Plugins dictionary - key is the servicename used in JavaScript, and the value is the Objective-C class for the plugin that is a CDVPlugin sub-class)
 2. A **white-list** of hosts (with no scheme nor path, hostnames or IP addresses only) that Cordova is allowed to connect to (set in the ExternalHosts array - wildcards allowed)
-3. Various **other** settings
+3. Various **other** settings (defaults err on not breaking existing apps)
 
 	a. **UIWebViewBounce (boolean, defaults to YES)** - set to NO if you don't want the WebView to rubber-band
 	

http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/2746f4d3/guides/Cordova Upgrade Guide.md
----------------------------------------------------------------------
diff --git a/guides/Cordova Upgrade Guide.md b/guides/Cordova Upgrade Guide.md
index c1d3f77..5de3821 100644
--- a/guides/Cordova Upgrade Guide.md	
+++ b/guides/Cordova Upgrade Guide.md	
@@ -25,7 +25,22 @@ This document is for developers who need to upgrade their Cordova-based projects
 - To upgrade from 1.3.0 to 1.6.x, please go to the 1.4.0 instructions first, then 1.5.0, then 1.6.x, then 1.7.0
 - To upgrade from 1.4.x to 1.6.x, please go to the 1.5.0 instructions first, then 1.6.x, then 1.7.0
 - To upgrade from 1.5.0 to 1.7.0, please go to the 1.6.x instructions first, then 1.7.0
-- To upgrade from 1.6.x to 1.7.0, go straight to the 1.7.0 instructions
+- To upgrade from 1.6.x to 1.8.0, please go to the 1.7.x instructions first, then 1.8.0
+- To upgrade from 1.7.x to 1.8.0, go straight to the 1.8.0 instructions
+
+## Upgrading Cordova 1.7.0 projects to 1.8.0 ##
+
+1. **Install** Cordova 1.8.0
+2. **Create a new project** - you will have to grab assets from this new project
+3. **Copy** the **www/cordova-1.8.0.js** file from the new project into your **www** folder, and delete your **www/cordova-1.7.x.js** file
+4. **Update** the Cordova script reference in your **www/index.html** file (and any other files that contain the script reference) to point to the new **cordova-1.8.0.js** file
+
+If you intend on using the **Capture API**, you will need the new **iPad retina-display** assets:
+
+1.  **Copy** the **Resources/Capture.bundle** item from the new project into your project folder, over-writing your existing **Resources/Capture.bundle** item
+2.  In your project, select the **Capture.bundle** item into Xcode into your Project Navigator, and press the **Delete** key, then select **Remove Reference** from the dialog that pops up.
+3.  Drag the new **Capture.bundle** from Step 1. above into Xcode into your Project Navigator, and select the **Create groups for any added folders** radio-button
+   
 
 ## Upgrading Cordova 1.6.0 projects to 1.7.0 ##