I recently integrated firebase app distribution in my app and used the Firebase console. I used to generate APK and upload manualy via console and distribute the app. I was so naive. Then I came to know that this entire process can be automated via Fastlane or Gradle app distribution. support. I was successful in integrating the app distribution via gradle thanks to this.
But I soon observed that when I was using the console a new entry was created for every new APK no matter the version name or version code ie. new APK entry was created even if I did not change the APK version code or name. However, when I am doing it through Gradle it is updating the same APK again and again until I change the version code and name.
Already gone through the documentation but there is no mention of this. Do i need to change the version code and name for every upload if i want a new entry for it in the app distribution console?
build.gradle(app)
buildTypes {
debug{
firebaseAppDistribution {
appId = "MY_APP_ID"
releaseNotesFile = "app/releasenotes.txt"
groups = "test"
}
}
to upload i run
./gradlew assembleDebug appDistributionUploadDebug