androidgoogle-playgoogle-play-servicesandroid-app-bundlein-app-update

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 -

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.


Solution

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