cli packages: (C:\Users\prantikv\AppData\Roaming\npm\node_modules)
@ionic/cli-utils : 1.12.0
ionic (Ionic CLI) : 3.12.0
global packages:
cordova (Cordova CLI) : not installed
local packages:
@ionic/app-scripts : 3.0.0
Cordova Platforms : android 5.1.0
Ionic Framework : ionic-angular 3.7.1
System:
Android SDK Tools : 25.2.5
Node : v6.11.3
npm : 5.4.2
OS : Windows 10
Misc:
backend : pro
I have not made any changes to the Android Project nor I intend to do so.
A thing to note here is that the following does not work ionic build --release android -- --versionCode=3
while the following does work cordova build --release android -- --versionCode=3
It is very possible that versionCode is not on the list of forwarded parameters. You might want to open an issue about that at Issues · ionic-team/ionic-cli · GitHub
Yes, the platform is old as I am purposefully targetting that platform. The cordova CLI is at 7.0.1.
I just assumed that all the cordova cli parameters were available under tha Ionic CLI as it run the cordova cli underneath.
But sadly it seem that is not the case.
Can you suggest any other way I can solve this from my end?