Chris W.
Chris W.

Reputation: 2376

How do I know when an app is available for update (alpha, beta or prod) in play store?

How do I know when an app is available for update (alpha, beta or prod) in play store? (We don't need this from the inside of the app) Is there any chance to get this info without the need to have a separate user for each stage (alpha, beta, prod) to view the play store listing?

We just want to have the information when the app has been published and is available for the users (for the given stage)

Upvotes: 0

Views: 83

Answers (1)

Panther
Panther

Reputation: 9408

There are two ways of doing this.

  1. One you could use this library to do it. https://code.google.com/p/android-query/wiki/Service
  2. Or you can make a simple http request to https://play.google.com/store/apps/details?id=your.namespace and parse the page for the version

<div class="content" itemprop="softwareVersion"> 2.2.0 </div>

Finally compare it in your app version in code

String version = this.getPackageManager().getPackageInfo(this.getPackageName(), 0).versionName;

Upvotes: 0

Related Questions