Cordova 7 released

Apache Cordova just released version 7 of their Cordova CLI we are all using:

http://cordova.apache.org/news/2017/05/04/cordova-7.html

Any first impressions or experiences?

4 Likes

thanks for info. surely i will try . they jumped from 6.5 to 7.0 .

They also updated android@6.2.3 (04 May 2017) and a bunch of plugins (01 May 2017)

cordova-plugin-battery-status: 1.2.4 (dfec094)
cordova-plugin-camera: 2.4.1 (ba9a803)
cordova-plugin-console: 1.0.7 (fa26558)
cordova-plugin-contacts: 2.3.1 (1c27c9a)
cordova-plugin-device-motion: 1.2.5 (04ce0ea)
cordova-plugin-device-orientation: 1.0.7 (7af309f)
cordova-plugin-device: 1.1.6 (eeb48e8)
cordova-plugin-dialogs: 1.3.3 (34cccf6)
cordova-plugin-file: 4.3.3 (06ff0eb)
cordova-plugin-file-transfer: 1.6.3 (720f314)
cordova-plugin-geolocation: 2.4.3 (12fae5b)
cordova-plugin-globalization: 1.0.7 (273e5a6)
cordova-plugin-inappbrowser: 1.7.1 (ff6a765)
cordova-plugin-media: 3.0.1 (2a1ee43)
cordova-plugin-media-capture: 1.4.3 (b78a4b2)
cordova-plugin-network-information: 1.3.3 (710b53d)
cordova-plugin-screen-orientation: 2.0.1 (8699159)
cordova-plugin-splashscreen: 4.0.3 (85aa605)
cordova-plugin-statusbar: 2.2.3 (77a6ae5)
cordova-plugin-vibration: 2.1.5 (96c4ad6)
cordova-plugin-wkwebview-engine: 1.1.3 (fce6123)

rather make a backup first :wink:

1 Like

I updated Cordova 7 and all my plugins to last versions.

ionic platform rm/add android is ok

ionic platform rm/add ios finish in error:

Error: Cannot find module '../plugman/platforms/ios'

UPDATE: ionic-plugin-deeplinks seems to not be compatible with Cordova 7.0.0. See https://github.com/driftyco/ionic-plugin-deeplinks/issues/99

1 Like

A post was split to a new topic: Install Cordova and Ionic CLI locally instead of globally?

@Sujan12 except the problem I found with ionic-plugin-deeplinks, it looks like that Cordova 7.0.0 inclusive the last version of cordova-android@6.2.3 are alright.

I updated cordova, all my plugins, removed both ios and android plaforms, added, configured and built my platforms again and finally tested successfully my application on both iPhone 6 and Samsung Edge

2 Likes

Nice! Thanks for letting us know.

My pleasure :wink:

For the record, my system information:

Cordova CLI: 7.0.0
Ionic Framework Version: 3.1.1
Ionic CLI Version: 2.2.1
Ionic App Lib Version: 2.2.0
Ionic App Scripts Version: 1.3.6
ios-deploy version: 1.9.0
ios-sim version: 5.0.13
OS: macOS Sierra
Node Version: v7.2.1
Xcode version: Xcode 8.3.2 Build version 8E2002

hi guys,

i run
ionic state reset
and then
ionic platform add android
then cordova put all plugins from the config.xml to the package.json

thank you

it’s working good for me as well

This means there is no support for Android below version 5?

Android API level support for cordova-android is here:
https://cordova.apache.org/docs/en/7.x/guide/platforms/android/index.html

And the API levels to versions:
https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels

Maybe I misunderstood this:

cordova-android : dropped support for any versions older than 5.0.0.

Yes, cordova-android != Android.