Shazron's Cordova (aka PhoneGap) Blog

at Adobe Systems Inc.

cordova-ios 3.8.0 release – highlights

leave a comment »

The full release notes are available.cordova_bot

Take note of the caveat that the current cordova-cli does not include this version by default until version 4.3.0 (pending Apache voting and release) so you will have to add the platform explicitly.

> node.js is required

Formerly if you did not use the cordova-cli and just used the bin/create script and the scripts in your project’s ‘cordova‘ folder, you didn’t need node.js. With this new version, all scripts have been converted from bash to node.js

NOTE: Users will need to update to ios-deploy version 1.4.0 because of this change.

> cordova bridge fix

Details here. Essentially in cordova-ios 3.7.0, a div element was (erroneously) created on every call across the bridge, which might result in a performance issue.

> handleOpenURL issues

Details here. This should work reliably now. Note that this functionality will be removed in cordova-ios 4.0.0 and be put into a plugin, which would allow more customization (including setting the callback function used).

> ability to disable push notification code 

Details here. Right now all cordova-ios projects will have the entitlement warning from Apple even if they don’t actually include push notification capability. For backwards compatible reasons, this is left in for this version, but you can disable it now by adding a preprocessor macro in build.xcconfig (through a project hook).

In cordova-ios 4.0.0, this code will be removed, users can add a plugin that swizzles the appropriate AppDelegate methods instead. The AppDelegate itself in the default template will itself be cleared out, and just inherit a base class.

> emulator builds use build.xcconfig now

Details here. This is so if you want to add custom build settings to enable development and use of Swift plugins for example while testing in the Simulator (and not just the device).

Written by shazron

February 27, 2015 at 8:21 pm

Posted in Uncategorized

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: