Is it possible to detect that an android app is either a beta version or production version?

后端 未结 6 877
半阙折子戏
半阙折子戏 2020-12-29 03:29

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 o

6条回答
  •  悲哀的现实
    2020-12-29 04:05

    You can add a string in your resources, called 'VERSION' , and give it the appropriate value. From your app, you can check that ID and do whatever is required

提交回复
热议问题