简体   繁体   English

我怎么知道什么时候可以在Play商店中更新应用程序(alpha,beta或prod)?

[英]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? 我怎么知道什么时候可以在Play商店中更新应用程序(alpha,beta或prod)? (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? (我们不需要从应用程序内部获取此信息)是否有机会获取此信息,而无需每个阶段(alpha,beta,prod)都有单独的用户来查看Play商店列表?

We just want to have the information when the app has been published and is available for the users (for the given stage) 我们只想在应用发布后获得信息,并可供用户使用(在给定阶段)

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 https://code.google.com/p/android-query/wiki/服务
  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 或者,您可以向https://play.google.com/store/apps/details?id=your.namespace发出一个简单的http请求并解析该页面的版本

<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; 字符串版本= this.getPackageManager()。getPackageInfo(this.getPackageName(),0).versionName;

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何将我的Android Wear分发给Google Play商店中的alpha / beta用户? - How do I distribute my Android Wear to alpha/beta users on Google Play Store? 如果我从测试版转到生产版,没有人可以为 Google Play 商店中的新应用撰写评论 - No one can write a review for a new app in Google Play Store if I goes from beta to prod 如何在Google Play商店中为alpha / beta测试人员启用自动更新 - How to enable automatic updates for alpha/beta testers at Google Play Store Google Play 商店 Alpha 测试 - 某些测试人员无法使用该应用 - Google Play Store Alpha Test - app not available for some testers Google Play 管理中心:如何将 Android 应用从 Alpha 版推广到 Beta 版 - Google Play Console: How to promote Android app from Alpha to Beta 如何判断我的Beta版应用是否在Play商店中? - how to tell if my beta app is on the play store? Google Play 商店 Alpha 版和 Beta 版曲目 - Google play store alpha and beta tracks 我可以为Android应用的alpha / beta / prod环境提供不同的资源吗? - Can I provide different resources to alpha/beta/prod enviroment of an Android app? 我在Google Play商店中发布了一个应用程序,我怎么知道上传了哪个APK? - I published an app to the google play store, How do I know which apk was uploaded? 应用程序更新可在Google Play商店上使用,但只有打开选项可用,而在Update上可用。 如何解决这个问题? - App update is available on Google Play store but there in only open option available instead on Update . How to resolve this issue?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM