Questions tagged [in-app-update]

Use tag for questions addressing in-app updates in Android (Play Core library feature)

In-App updates is a Play Core library feature that introduces a new request flow to prompt active users to update your app.

185 questions
4
votes
2 answers

Android In app update immediate update is cancelable

Google Immediate app update, as far as I understand, shouldn't be cancelable, but the dialog as an X icon that cancels the update process. Is there a way to remove the cancel option? I'm using the latest play core version, 1.10.2 Thanks
Sharas
  • 1,985
  • 3
  • 20
  • 43
4
votes
2 answers

Internal app update: clientVersionStalenessDays() returning null when testing with internal app sharing

Libraries: implementation 'com.google.android.play:core:1.7.3' implementation 'com.google.android.play:core-ktx:1.7.0' Additional information: Everything else regarding app updates and internal app sharing works for me, I do get dialog with update…
markic22
  • 51
  • 2
4
votes
0 answers

Error while implementing Android In-App Update

I have implemented below code into my application but there is error while calling InAppUpdate code. fun checkforUpdate() { appUpdateManager = AppUpdateManagerFactory.create(this) appUpdateInfoTask = appUpdateManager?.getAppUpdateInfo() …
Mahesh Keshvala
  • 1,349
  • 12
  • 19
4
votes
0 answers

In-app UPDATES - startUpdateFlowForResult not triggering the update dialog

I am using fakeUpdateManager to test in-app update dialog, i have set updateAvailable to 10- 10 is the version code i have on playstore and i am building the build in app(Release) with version code 9. The app is in internal testing on…
Bawa
  • 876
  • 10
  • 28
4
votes
5 answers

Testing in app update with Internal app sharing

I just started research on the inApp update. all code done as per google document appUpdateManager.getAppUpdateInfo().addOnSuccessListener(new OnSuccessListener() { @Override public void onSuccess(AppUpdateInfo result)…
Vishal Patel
  • 2,931
  • 3
  • 24
  • 60
4
votes
1 answer

How to configure Flexible OR Immediate release for android in app updates?

For in-app updates feature in Android, How to configure Flexible/Immediate release on Playstore?
4
votes
2 answers

How to prevent memory leak with In-App Update Library

I want to implement the new In-App Update library in my app, but I've noticed that it trigger a memory leak in my activity when it's recreated/rotated. Here's the only detail I have from LeakCanary: Obviously, I've nothing if I remove the code from…
Borombo
  • 170
  • 2
  • 10
4
votes
1 answer

In-app Update throw error message in android

I try to implement the In-app Update feature one of my apps. I integrated in-app code snippet but when I run the code it throws an error message. Code : class MainActivity : AppCompatActivity() { private val REQUEST_CODE: Int = 123 …
Magesh Pandian
  • 8,789
  • 12
  • 45
  • 60
3
votes
1 answer

In-app-update apps crash in android 14 due to "RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED" error in system-broadcasts

I have an android app which uses in-app-updates. After targeting android 14 (API 34) the app will not start due to this error: FATAL EXCEPTION: main Process: no.norva24.mslam, PID: 8281 java.lang.RuntimeException: Unable to start…
Roar Grønmo
  • 2,926
  • 2
  • 24
  • 37
3
votes
1 answer

Android PlayStore 'InAppUpdate' make absolutely force the Upgrade (Must Immediately Upgrade with no option to cancel what so ever)

I have below code which I have implemented the InAPPUpdate code successfully, Which is working fine as per the below screenshot. However, in this implementation User can still cancel the InAppUpdate using the (X) close button and also while…
mahen3d
  • 7,047
  • 13
  • 51
  • 103
3
votes
2 answers

App doesn't restart automatically after completing Android's in-app flexible update process in some devices

I'm trying to add Google Play Core flexible update to the app i'm working on. As stated in the documentation in Android website app should restart automatically to main activity after completing the update process when you call completeUpdate method…
3
votes
0 answers

In-App Update not restarting app UI on Android 10 and above, it works fine below android version 10, how can I resolve this issue?

Flexible update working fine but immediate update downloading and installing the new apk but not restarting itself
Ashok Raj
  • 41
  • 4
3
votes
1 answer

How to simulate onFailureListener & resultCode != Activity.RESULT_OK In App Updates?

How can I test this onFailureListener & resultCode != Activity.RESULT_OK? When I open the app, I create a force Update State depending on my versionName of both apps shared on Google Play Internal Sharing. At first, it will show me a custom dialog.…
Bear11
  • 45
  • 3
3
votes
2 answers

Android inApp update always show update not available and certificate mismatch warning

I have an android app which is published on play store. Am trying to implement in App update and test it using android internal track sharing. For sharing on internal track i tried following and everything gave me same results. 1. Created Apk.…
dexprab
  • 89
  • 1
  • 1
  • 3
3
votes
1 answer

InApp update functionality is not working am getting this error com.google.android.play.core.install.InstallException: Install Error: -3

I am trying to show the update via my App am getting following error com.google.android.play.core.install.InstallException: Install Error: -3 this is the code for checking and updating App public void checkAppUpdate(){ // Creates…
Parvez Md
  • 31
  • 4
1 2
3
12 13