The main problem is that Google Play updates are based on the build number ( versionCode ), and don't care which channel .apk comes from.
Your only option is not to write the assembly numbers of the assembly, but to leave spaces instead. For example, if your product is versionCode="10" , make a beta versionCode="20" , which will give you the opportunity to publish nine more small releases of prod before you encounter the problem of canceling the beta build.
Although there are two questions with this approach: - Obviously, it does not scale very well. โThis makes it difficult to manage assembly numbers, since now you have to keep a record of which assembly has reached the assembly number.โ - If you do not invalidate the beta build, your beta users will still have the errors that you just fixed in the new prod build until you update them.
Please note that if you do not have change rights that prevent automatic updates, the invalidity of the beta assembly and the publication of a new one is not so important; most users will not even notice that they have been updated (unless your application tells them explicitly).
source share