layout: post author:
name: Shazron Abdullah
url: https://twitter.com/shazron
title: "Cordova iOS 4.5.0" categories: announcements
We are happy to announce a minor version of Cordova iOS 4.5.0
has been released!
Three new features were added:
handleOpenURLWithApplicationSourceAndAnnotation:
now (new selector, that sends the URL with additional metadata)Important! If you have included cordova-plugin-console
in your project, you must remove it, otherwise your project will not build.
If you ever needed to disable the built in console plugin, comment out or remove the Console
<feature>
tag in your platform specific config.xml
, and/or call this right after the deviceready
event:
cordova.require('cordova/plugin/ios/logger').useLogger(false);
Other notable issues:
ios-deploy
dependency to v1.9.2, which contains a fix for Xcode 9ios-sim
to v6.0.0 with support for newer iPads (and this fixes some related bugs)<access>
tag attribute allows-arbitrary-loads-for-media
(which reflects the correct App Transport Security value). The old attribute allows-arbitrary-loads-in-media
is deprecated.
Note: When updating iOS, make sure to save your plugins as current unsaved plugins may not be reinstalled otherwise. Run the following command in your project to save your currently installed plugins into config.xml
:
cordova plugin save
To upgrade:
npm install -g cordova
cd my_project
cordova platform rm ios
cordova platform add ios@4.5.0
To add it explicitly:
cordova platform add ios@4.5.0
cordova-ios
with new cordova-common that parses new attribute for access tagpackage.json
repo items to github mirrors instead of apache repos sitebugs
entry to package.json
.