in-app-update

java.lang.reflect.InvocationTargetException while inappupdate android if retries

风流意气都作罢 提交于 2019-12-11 04:05:05
问题 Steps to reproduce this error: Click update button & it opens update app dialog since it's AppUpdateType.FLEXIBLE . Click No, thanks Try update again. App crashes with following error: I'm getting this exception while updating the app via inappupdate on following line. appUpdateManager?.startUpdateFlowForResult(it, AppUpdateType.FLEXIBLE, activity, REQUEST_CODE_FLEXI_UPDATE) //it == AppUpdateInfo object Stacktrace: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException at com

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

久未见 提交于 2019-12-06 04:37:40
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 :

How to work with Android's in-app update API?

痴心易碎 提交于 2019-12-01 04:04:57
问题 I recently come across a new kind of app update flow which may have provided by Google Play. I liked the seamless flow to update an Android application. I observed below-mentioned steps in Hotstar app. A card popped up from the bottom showing update is available When I clicked on "Update Hotstar" button, one dialog popped up (seems like it is provided by Google Play) Downloading was started in the background while the app was running After completion of the download, one SnackBar popped up

In App update not working for app bundle apk

佐手、 提交于 2019-12-01 03:32:54
问题 I have implemented recently launched In-App update API in my android app. When I build apk and test this functionality it works fine. ( I have uploaded apk with higher version with beta track). But when I build app bundle and upload the app bundle to internal internal app sharing , App update dialog is never prompted. (same source code only difference is in first case apk and in second case via app bundle). 回答1: In-App updates are not yet supported with internal app sharing. We are working on

What purpose does appUpdateInfo.isUpdateTypeAllowed (AppUpdateType.IMMEDIATE) serve in Android In-App Update API?

左心房为你撑大大i 提交于 2019-11-30 04:16:05
问题 I have been following In-App update API in Android for quite some time now and I am unable to find any relevance of the following line: appUpdateInfo.isUpdateTypeAllowed(AppUpdateType.IMMEDIATE) -- appUpdateInfo.isUpdateTypeAllowed(AppUpdateType.FLEXIBLE) This isUpdateTypeAllowed() method has been used in the code snippet below in Android Documentation: https://developer.android.com/guide/app-bundle/in-app-updates#update_readiness. Moreover, the above two method calls return true in all the

In-App Update API showing UPDATE_NOT_AVAILABLE while testing on debugging device

假装没事ソ 提交于 2019-11-29 14:57:11
问题 I am trying to integrate the new In-App Update API but I cannot able to test it's implementation. Seems like my code is fine therefore I read the Troubleshoots and am not able to understand 2 points in this document Make sure that the app that you are testing is signed with the same signing key as the one available from Google Play. How can I sign with same signing key in debug mode while installing Apk on Connected device?. If the app you are testing doesn’t appear with an available update,