GabrielMar 19
Ionic Android app version code
When uploading a new apk file to Google Play I was asked to increment my apk Version Code. Since this was my first ever Android app and first ever Ionic app I wasn’t sure how to deal with it. After some searching I found the right way to do it.
It’s related to the Cordova xml config file. In the Additional Versioning paragraph there’s an example of the syntax. Briefly, in the widget tag add android-versionCode=”X”, where “X” is your desired version.
You can now build the apk and upload it to Google Play.