Monaca Docs
Search…
Cordova 9 changes

Android

    Cordova Android Platform: Updated to "8.0.0" (API level 28)
    Gradle: Updated to "4.10.3"

iOS

    Cordova iOS Platform: Updated to "5.0.1"
    Xcode: The version can be selected from "10.1" "10.2" "10.2.1"

Plugin deployment directory

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/

Deprecated plugin

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

Obsolete plugin

The following plugins have been deprecated since Cordova 9.
    mobi.monaca.plugins.datepicker
    cordova-plugin-ms-azure-mobile-apps
    mobi.monaca.plugins.BarcodeScanner

Number of available characters for Android package name

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).

Application name

The cordova 9 cannot set "number" at the beginning of an application name.

About pairing Monaca Localkit and Monaca CLI

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.
1
<widget xmlns:android="http://schemas.android.com/apk/res/android">
2
3
<platform name="android">
4
<edit-config file="AndroidManifest.xml" target="/manifest/application" mode="merge">
5
<application android:usesCleartextTraffic="true" />
6
</edit-config>
7
</platform>
Copied!
Last modified 2mo ago