Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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.

like image 213
Kunal Avatar asked Jun 13 '19 13:06

Kunal


1 Answers

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

like image 79
tyczj Avatar answered Oct 13 '22 00:10

tyczj