We need to update our Cordova core up to version 10 in order to accomplish new social requirements (eg. Facebook).
We are encountering a problem at build time. Even if we are adding the "engine" specification inside the config.xml file, at log the following message is returned:
No platforms added to this project. Please use `cordova platform add `.
In our build configuration, the cordova-%platform% version needs to be specified inside that file, that until version 9.0.1 works like a charm. So I can't use a solution that includes running the above command before perform the APP build.
We are building using the command:
cordova build android
So how is possible to specify the platform version in the Cordova project with this new version of Cordova ?
Here below our config.xml file (template)
APP_TOBUILD_NAME
app_description
Contact us