I fear that the answer will likely be "impossible", but I would like to know if there is a way to detect if my uploaded apk to the Play Store is the alpha/beta or stable channel.
I would like to achieve this because I have a whole menu leading to Beta features that I would like to hide in the stable channel.
This is really usefull because while I fix generic bugs that I push to the Store, I don't want to recompile each time with or without the beta button.
I have unfortunately no code to share, but any help or suggestion would be highly appreciated
I feel like there is actually a good use case for this functionality. Consider the following scenario:
The Alpha/Beta was just launched, and Google didn't mention anything like what you want.
If something like this was possible, the place for it would have probably been Google Play Services.
It's not there.
A possible workaround -
If you know the date in which you want to move from beta to production, you can use this little trick: set the default visibility of the debug menu to gone
, and until that date, set it to visible in code.