Android In App Updates - Not able to detect the update in AppUpdateInfo

大兔子大兔子 提交于 2019-12-22 18:19:32

问题


Some log statements are thrown when we use,

Task<AppUpdateInfo> appUpdateInfoTask = appUpdateManager.getAppUpdateInfo();
appUpdateInfoTask.addOnSuccessListener(appUpdateInfo -> {
2019-06-13 18:30:40.556 28375-28375/com.marsplay.debug I/PlayCore: UID: [10312]  PID: [28375] AppUpdateService : requestUpdateInfo(<"package name here">)
2019-06-13 18:30:40.556 28375-28584/com.marsplay.debug I/PlayCore: UID: [10312]  PID: [28375] AppUpdateService : Initiate binding to the service.
2019-06-13 18:30:40.560 28375-28375/com.marsplay.debug I/PlayCore: UID: [10312]  PID: [28375] AppUpdateService : ServiceConnectionImpl.onServiceConnected(ComponentInfo{com.android.vending/com.google.android.finsky.installservice.DevTriggeredUpdateService})
2019-06-13 18:30:40.560 28375-28584/com.marsplay.debug I/PlayCore: UID: [10312]  PID: [28375] AppUpdateService : linkToDeath
2019-06-13 18:30:40.564 28375-28389/com.marsplay.debug I/PlayCore: UID: [10312]  PID: [28375] OnRequestInstallCallback : onRequestInfo
2019-06-13 18:30:40.564 28375-28584/com.marsplay.debug I/PlayCore: UID: [10312]  PID: [28375] AppUpdateService : Unbind from service.

I've made sure -

  • My signing keys are the same as uploaded in play store, as I can sign in facebook and other auths methods + I've verified myself.
  • The Google play google shows in My apps and games tab, with an UPDATE button showing up.
  • Application ID is the same
  • I've downloaded from the Play Google numberous times.
  • I've tried in the Internal Test track and a closed beta release

EDIT: Also I've tried to run the app from adb install, or trying to install from google play and after that deploying aab on the play google.


回答1:


I had to force quit the play store then reopen it for it to work



来源:https://stackoverflow.com/questions/56581300/android-in-app-updates-not-able-to-detect-the-update-in-appupdateinfo

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!