Cordova 9 changes
- Cordova Android Platform: Updated to "8.0.0" (API level 28)
- Gradle: Updated to "4.10.3"
- Cordova iOS Platform: Updated to "5.0.1"
- Xcode: The version can be selected from "10.1" "10.2" "10.2.1"
The location where plugins are saved has changed.
When importing plugins in the plugin list page, the place where the plugin is saved has changed.
- Before :
/plugins/
- After :
/res/custom_plugins/
The following plugins have been deprecated since Cordova 9.
The plugin will continue to be available, but will not be eligible for activity by the Cordova community.
- cordova-plugin-contacts
- cordova-plugin-device-motion
- cordova-plugin-device-orientation
- cordova-plugin-file-transfer
- cordova-plugin-globalization
The following plugins have been deprecated since Cordova 9.
- mobi.monaca.plugins.datepicker
- cordova-plugin-ms-azure-mobile-apps
- mobi.monaca.plugins.BarcodeScanner
In the Android package name, it is not possible to use it with one letter.
For the package name, reverse domain format is recommended (for example:
mobi.monaca.appname
).The cordova 9 cannot set "number" at the beginning of an application name.
When using a custom build debugger on Android 9 or later, you need to add the Android namespace to the
widget
tag in config.xml
and add usesCleartextTraffic="true"
.Create the custom build debugger after adding the following settings to
config.xml
.If you are using Android custom build debugger v9.0.1 or later, the following settings are not required.
<widget xmlns:android="http://schemas.android.com/apk/res/android">
<platform name="android">
<edit-config file="AndroidManifest.xml" target="/manifest/application" mode="merge">
<application android:usesCleartextTraffic="true" />
</edit-config>
</platform>
Last modified 2yr ago