I did exactly as usual to publish my ionic app on the Play store. I updated all the version numbers in my config.xml to :
<widget android-versionCode="1830" id="com.XXXX" ios-CFBundleVersion="1830"
ios-CFBundleVersionString="183" version="183"
versionCode="10" xmlns="http://www.w3.org/ns/widgets"
xmlns:cdv="http://cordova.apache.org/ns/1.0">
I then build using ionic package build android --release --profile profile_production
.
but I get an error message when I import the apk on the Play Store:
The version code must be higher ...
I tried to add this android-versionCode="18308"
as mentioned here but I get the same error.
Any ideas please ?