Support for Google developers is very clear:
Alpha / Beta Availability
The alpha and beta APKs must have a higher version than the production APKs, which will be available for testing.
To be available to alpha testers, alpha apk must have a higher version than beta apk.
If the beta APK is loaded with a higher version than the alpha APK, the alpha version will be automatically deactivated.
- If APK Production loads with a higher version of the code than the alpha or beta APK, the alpha and / or beta will be automatically deactivated.
Users of the alpha testing group are eligible for the alpha, beta, or version of your application with the highest version code compatible with their device. Beta users of the test group are only entitled to a beta version or production version of your application with the highest version code compatible with their device.
My question is, is there a way to distinguish between Alpha / Beta releases from Production with a custom parameter with the same binary or APK? When I mean a custom parameter, it will be something like a URL pointing to a Cloud endpoint for testing or production.
The problem is that otherwise I have to release different APKs depending on the profile, and also when I publish alpha / beta testers for production, you will get an update indicating the endpoint of the final product that has its data in the test. I would have to publish a production version, followed by another alpha / beta version to solve this problem, but I find it rather tedious.
android google-play-services google-play android-testing
GoRoS
source share