Starting this week, Monaca has started supporting Cordova 10.
With this support, WKWebView will be installed as standard on Android 10 and iOS. Also, newly created projects will be created for Cordova 10.
The versions of Android and iOS provided by Monaca on Cordova 10 are:
- Cordova Android Platform: updated to “9.0.0” (API level 29)
- Gradle version: updated to “6.5”
- Cordova iOS Platform: updated to “6.1.1”
- Xcode: “11.3”
(Xcode12 support will be announced separately.)
For more information, please refer to Monaca Docs.
How to upgrade the project
You can upgrade your project to Cordova 10 by following the steps below.
- Open the target project
- Click “Settings” in the header menu
- Click Manage Cordova Plugins
- Click “Upgrade to 10.0.0” in the figure below
Cordova10 Upgraded projects cannot be downgraded to a previous version.
A backup project of the previous version will be created automatically at the time of upgrade, so please use that.
Warning in Monaca Debugger
The “Monaca Debugger” for Cordova 10 is version 10.0.0 or later.
If the Cordova version installed in the debugger and the Cordova version of the project is different, the application may not work properly. In that case, please use “Custom Build Debugger”.
For information on how to get the custom build debugger, please refer to the following document.