Before starting to migrate your projects into Monaca, there are some key points you need to pay attention to in order to have a seamless migration.
Before getting started with the migration, you may want to know about the supported Cordova version and build environment in Monaca.
All newly created projects in Monaca will be using the latest supported Cordova version (currently, Cordova 7.1) by default.
|Cordova||Android platform||iOS platform||Windows platform (electron)|
For more information on build environment for lower Cordova version, pleaser refer to Build Environment.
In Monaca, Cordova plugins are managed by
package.json file. If your plugin information is defined in
config.xml file, you will need to import them again into Monaca. Please refer to Import Cordova Plugins.
Store-version Monaca Debugger (found in Google play or AppStore) only includes Core Cordova plugins. If your project contains any third-party Cordova plugins besides the Core Cordova plugins, you will need to build custom debugger to test this kind of project. Custom debugger will only include the plugins used in the project. Please refer to:
monaca remote configfrom the project directory.
Please note that
loader.js file is also loaded
cordova.js file. Therefore, if you are going to include the above lines, you can remove this line:
Lastly, please stay alert to the following points since it is neccessary for working with Monaca Debugger and Monaca Build Server.
www. You may need to change the build output to
file://works. For example, you may need to set
<base href="./"in the