Skip to content

Instantly share code, notes, and snippets.

@shazron
Created March 25, 2013 23:35
Show Gist options
  • Select an option

  • Save shazron/5241890 to your computer and use it in GitHub Desktop.

Select an option

Save shazron/5241890 to your computer and use it in GitHub Desktop.
Upgrading a Cordova Project
1. Create a new project
2. Copy in your www assets (keep the cordova.js that is in the new)
3. Update your .html pages that reference the cordova.js to the new one
4. Copy in your Plugin source files into the Plugins group in Xcode
5. Update config.xml with your plugin mappings, access tags (whitelist), and application preferences
6. Copy in any [App]-Info.plist settings that you had before (99.99999% of the cases you can just copy it over if you created the new project with the same settings)
7. localization files - copy those folder over and register them in XCode - as we have the app in 4 languages
8. icons - overwrite the cordova ones and re-register them in XCode
9. splashscreens - ditto
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment