Hi,
I’m trying to upload the second version of an app on GooglePlay.
With Cordova the version was in the file config.xml.
With Capacitor in which file should I put the version code?
I thought it was package.json, but it isn’t because GooglePlay says that the app I’m trying to upload has the same version code of the previous.
Android development switched to gradle files for configuration long time ago, if you check AndroidManifest.xml in Android Studio you can see it in two different ways “Text” and “Merged Manifest”.
If you open the “Text” way it won’t contain versionCode nor versionName as it comes from gradle, but if you check the “Merged Manifest” both values are there.
But if you want, you can remove those values from gradle and put them in the AndroidManifest.xml if you prefer the old way