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

后端 未结 6 880
半阙折子戏
半阙折子戏 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 03:51

    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

提交回复
热议问题