cordova-ios 3.8.0 release – highlights
The full release notes are available.
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).