Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Upcoming Changes with PhoneGap 2.1 & iOS 6

DZone's Guide to

Upcoming Changes with PhoneGap 2.1 & iOS 6

· Web Dev Zone ·
Free Resource

Deploying code to production can be filled with uncertainty. Reduce the risks, and deploy earlier and more often. Download this free guide to learn more. Brought to you in partnership with Rollbar.

Are you using PhoneGap/Apache Cordova for iOS development?  If so, you’ll definitely want to pay attention to the upcoming PhoneGap 2.1 release. If you haven’t seen it already, be sure to check out Shazron’s post: 11 upcoming changes for Cordova iOS 2.1.  Changes include Automatic Rererecnce Counting (ARC) support, an updated Native-JavaScript bridge, diagnostics, and iOS 6 compatibility support, among other changes.

Wait, what?  Did I just reference “iOS 6 compatibility”?

Yes, there are a few minor issues related to API changes from Apple.  We can’t go into detail about them yet due to Apple’s non-disclosure agreement by which all Apple developers are bound. However, you will want to pay attention to PhoneGap/Cordova 2.1 release, and upgrade accordingly if your application is impacted.  Most existing apps won’t be affected, but a small number may encounter an issue or two.  Be sure to test your apps on the iOS 6 beta to make sure they are ready.  There are workarounds to these issues without having to upgrade to PhoneGap 2.1, but all new apps targeting iOS 6 will definitely want to use PhoneGap 2.1 or newer.

You can check out the Apache Cordova JIRA bug tracker for the 2.1 release to see a bit more of what is involved in the upcoming release.

Deploying code to production can be filled with uncertainty. Reduce the risks, and deploy earlier and more often. Download this free guide to learn more. Brought to you in partnership with Rollbar.

Topics:

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}