We use beta staging in google play store. For app side force update functionality we want to detect if our app is either coming from the beta stage or the production stage of the google play store. Is this possible in android apps?
Open a web browser on your device and go to 'https://www.google.com/android/beta'. Now, login with your registered Google account when prompted. Once logged in, Tap or click on view your eligible devices option. If your device is eligible, you can see your device listed.
An alpha testing group should be small and test the least stable, experimental versions of your Actions (such as within your company or team). Use beta testing with a larger group to test stable versions of your Actions that are near release. Provide a channel for testers to send you feedback.
It's currently not possible to detect if the app was installed from either the Beta or Production Track on the Play Store.
Assuming your app will be connecting to an API that you own - What you can do is let the API determine if the App is a Beta or Prod App. For example store the app version number(s) that are considered a Prod app on the API, when the app connects to the API it passes it's version number to the API and the API returns a response with whether it is Prod (The version matches one it has stored) or Beta App (it's does not match one it has stored).
There are 2 Limitations to this though:
If you're happy with these 2 limitations then you will only have 1 APK and a means to determine if your app is Prod or Beta.
You can do this with the Google Play Developer API but it looks pretty painful.
https://developers.google.com/android-publisher/edits/overview
https://github.com/googlesamples/android-play-publisher-api/blob/master/v2/java/src/com/google/play/developerapi/samples/ListApks.java
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With