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
10
votes
3 answers

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

Some log statements are thrown when we use, Task appUpdateInfoTask = appUpdateManager.getAppUpdateInfo(); appUpdateInfoTask.addOnSuccessListener(appUpdateInfo -> { 2019-06-13 18:30:40.556 28375-28375/com.marsplay.debug I/PlayCore:…
9
votes
2 answers

Can we set update priority for Internal app sharing(testing in app updates)?

As per the documentation,we can use internal app sharing to test in-app updates by performing the following steps: Make sure your test device has a version of your app installed that supports in-app updates and was installed using an internal…
Android Developer
  • 9,157
  • 18
  • 82
  • 139
9
votes
2 answers

AppUpdateManager.startUpdateFlowForResult causing IntentSender$SendIntentException

In-app update is available multiple times in my app. User can cancel the update first time while opening the app and choose to trigger in-app Update from another fragment manually. As per Google documentation, I have created new instances each time…
Asif A. Sohan
  • 202
  • 1
  • 5
9
votes
1 answer

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

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…
AskQ
  • 4,215
  • 7
  • 34
  • 61
8
votes
4 answers

AppUpdateManager.startUpdateFlowForResult not showing dialog

I am trying to implement android in-app updates. I am following the tutorial given in the official portal but the dialog is not shown when startUpdateflow method is called. Please find below is the chunk of code I am executing. final…
Varun A M
  • 1,103
  • 2
  • 14
  • 29
7
votes
1 answer

Immediate In-App Update on Android 10 and above closes the app after install/restart

Have implemented Immediate In-App Update Workflow in my android app but have been observing this weird behaviour where after downloading/installing the app update, the api does not restart the app UI (have confirmed that the app is activated in the…
6
votes
0 answers

How to handle InstallException in in-app updates?

I am trying to implement in-app updates in my android app following the official documentation. I launched one version of my app on Play Store using internal testing track followed by another version with incremented versionCode. When I opened the…
Arpit Shukla
  • 9,612
  • 1
  • 14
  • 40
6
votes
1 answer

How to set type of update "In App Update" when I update the app in google play console?

I can't find out where should I set the update type of "In App Update" feature in google play console. Otherwise tell me how to use AppUpdateType.IMMEDIATE and AppUpdateType.FLEXIBLE?
6
votes
1 answer

How to know the AppUpdateType at the origin of the DEVELOPER_TRIGGERED_UPDATE_IN_PROGRESS update availability?

I am currently working on an implementation of the new "in-app update" library of Google. According to the documentation, we can prompt a "flexible" or an "immediate" UI to the user. In both case, it will launch the download of the update (blocking…
rolandl
  • 1,769
  • 1
  • 25
  • 48
5
votes
1 answer

Install Error(-100) in Google Play Core in app update

We implemented some time ago In App Updates using Google Play Core library, and recently (started on September 8th) to shown on our Crashlytics lots of Install Error (-100) crashes. Not sure if Google Play rollout something on that day, but even…
5
votes
0 answers

How to use Fake appupdatemanager for testing?

I have a code to check for any updates on the play store for my app, here is the code below. private AppUpdateManager appUpdateManager; int REQUEST_APP_UPDATE=888; setContentView(R.layout.activity_starternew); checkforupdate(); public void…
Yayayaya
  • 216
  • 3
  • 13
5
votes
2 answers

In-app updates not working. Unable to bind the service error

I am trying to setup the in-app updates dialog in Android but it's not working from the example provided in the docs I have tried the examples available in the docs which ask you to do this. appUpdateManager .getAppUpdateInfo() …
muchamaze
  • 173
  • 1
  • 4
  • 14
4
votes
0 answers

"There was a problem parsing the package" - How to solve this?

I have an updated app in my device storage. I have to install that upper version app from my existing lower version app in a button click. (Like the way dora tv users update their app) I wrote this code.But it's showing - "There was a problem…
4
votes
0 answers

How to get versionName from AppAppdateInfo

I'm trying to implement Android InApp Update, one of my conditions to show the Flexible popup is to check if the user version is two times behind the play store version. The problem is in my build.gradle the version code is generated dynamically and…
Othmandroid
  • 215
  • 2
  • 12
4
votes
1 answer

Getting Install Error(-10): The app is not owned by any user on this device. An app is "owned" if it has been acquired from Play

I am trying to test in app update from Internal Testing track in Play Store. The code that I am using - public void checkForUpdate() { appUpdateManager = AppUpdateManagerFactory.create(this); // Returns an intent object that you use to…
1
2
3
12 13