简体   繁体   English

某些设备中的 PlayStore 应用程序仍显示旧版本,而新版本已上线并可在 Play 商店中使用

[英]PlayStore app in some devices still showing older version while new version is live and available on play store

Some device's play store app is showing older version of my app(1.91) while new version(1.92) is available on play store.某些设备的 Play 商店应用程序显示我的应用程序的旧版本(1.91),而 Play 商店提供新版本(1.92)。 When I open the play store app programmatically to update my application from update button (which I have in my android app )of my app, play store app shows open button but it should have update button there(so user can update my app).当我以编程方式打开 Play 商店应用程序以从我的应用程序的更新按钮(我的 android 应用程序中有)更新我的应用程序时,Play 商店应用程序显示打开按钮,但它应该有更新按钮(因此用户可以更新我的应用程序)。

What should I do to resolve this problem.我该怎么做才能解决这个问题。 Should I unpublish the older version after publishing new version on play store在 Play 商店发布新版本后,我是否应该取消发布旧版本

A little late to answer here, but this will help others who face this issue.在这里回答有点晚了,但这将帮助面临这个问题的其他人。

Story:故事:

Time and again I have seen this happen with my apps where the new version is live and visible on some devices, but on others the Play store keeps on displaying older version.我一次又一次地看到这种情况发生在我的应用程序中,其中新版本在某些设备上是实时可见的,但在其他设备上,Play 商店继续显示旧版本。 This is some caching issue with Play store app.这是 Play 商店应用的一些缓存问题。

Solution:解决方法:

  1. The solution is for the user to force stop the play store app and open it again.解决方案是让用户强制停止 Play 商店应用程序并再次打开它。
  2. If that doesn't work, clear play store app data/cache and open it again.如果这不起作用,请清除 Play 商店应用程序数据/缓存并再次打开它。
  3. If that doesn't work, restart the device and open the app again.如果这不起作用,请重新启动设备并再次打开应用程序。
  4. If that doesn't work, ask your users to buy an iPhone and you can deploy an iOS app.如果这不起作用,请让您的用户购买 iPhone,然后您就可以部署 iOS 应用程序。

Conclusion:结论:

Who should you blame for this issue?这个问题应该归咎于谁? Google, of course.谷歌,当然。

Who will your user blame and give a bad rating to?你的用户会责怪谁并给谁差评? You, of course.你,当然。

PS Before arriving at this conclusion, make sure your app version is actually live on Play Store! PS 在得出这个结论之前,请确保您的应用程序版本实际上已在 Play 商店上线! You might also ask your user to send screen shot of play store listing version to confirm it.您还可以要求您的用户发送 Play 商店列表版本的屏幕截图以进行确认。

Here is what i did, which resolved my issue,这是我所做的,它解决了我的问题,

  1. Closed Playstore app from list of running apps.从正在运行的应用程序列表中关闭 Playstore 应用程序。
  2. Went to Settings -> Apps -> Google Play Store -> Force Stop.转到设置 -> 应用程序 -> Google Play 商店 -> 强制停止。
  3. Relaunch playstore and this time it showed me the update.重新启动 Playstore,这次它向我展示了更新。

In one case although the app was no longer in review and was published, but had to wait for couple of hours before it showed up on that particular device.在一种情况下,虽然该应用程序不再接受审查并已发布,但必须等待几个小时才能出现在该特定设备上。 On another device (Samsung too) it updated immediately.在另一台设备(三星也是)上,它立即更新。

I have the solution.我有解决方案。

I use a database (eg Firebase RealTimeDatabase)我使用数据库(例如 Firebase RealTimeDatabase)

  1. store a node manually with the currentVersion of the app.使用应用程序的当前版本手动存储节点。

  2. programmatically check for the current app version in onResume with以编程方式检查onResume 中的当前应用程序版本

     try{ String versionName = context.getPackageManager() .getPackageInfo(context.getPackageName(), 0).versionName; } catch (PackageManager.NameNotFoundException e) { e.printStackTrace(); return false; }
  3. retrieve the value from the database eg 1.5.0从数据库中检索值,例如1.5.0

  4. check if the current version (step 2) is smaller or not to the actual one检查当前版本(第 2 步)是否小于实际版本

     if (versionName < versionNameFromDB) { showDialogToUpdate(); }

then just redirect the user to the google play of your app.然后只需将用户重定向到您的应用程序的谷歌播放。

暂无
暂无

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

相关问题 Playstore 向某些用户显示旧版本 虽然有新版本可用 - Playstore showing the older version to some users While there is new version available 在分阶段推出新版本的同时,在Playstore中更新旧版本的应用 - Updating an older app version in the Playstore while a new version is in staged rollout 上传最新版本后,在Play商店中显示应用程序的旧版本? - Showing older version of app on play store after uploading latest version? 该应用在某些主要使用Android 4.1.1版的平板电脑设备上的Play商店中不可用 - App is not available on Play Store in some tablet devices mostly with Android version 4.1.1 较旧版本的应用下载Android Play商店 - Older version app downloads Android play store 获取Google Play商店中可用的新版本应用程序的通知 - Get notification of new version of app available in Google Play store 我的应用程序已在Play商店上架,但Play商店显示错误“您的设备与此版本不兼容” - My App is live on play store but the play store is showing error “Your device isn't compatible with this version” Android 应用在 Play 商店显示新版本,但下载旧 APK - Android App showing new version on play store, but downloading old APK Play 商店有新版本的应用程序,但未显示更新 - Play Store having new version of the app, but not showing update 在某些设备上的 Play 商店中未显示 Android 应用 - Android app is not showing in play store on some devices
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM