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
1
vote
0 answers

How to detect "When Wi-Fi is available" flow in In-App Update?

My question is about In-App Update's FLEXIBLE case, when the "wait for Wi-Fi" option is chosen. How to detect this state? The exact flow for context: Application is started, In-App Update FLEXIBLE dialog comes up I choose "When Wi-Fi is available"…
1
vote
0 answers

AppUpdateInfo.updateAvailability() returns UPDATE_AVAILABLE on a Pixel 6 but returns UPDATE_NOT_AVAILABLE on multiple Samsung devices

I am trying to use the AppUpdateManager class to check to see if an update is available, however I am seeing different results depending on what type of Android device that I use. When I make the call with a Pixel 6 Pro, it returns an update is…
Jeff M
  • 11
  • 1
1
vote
1 answer

Flexible in-app updates download in the foreground rather than the background

I have implemented flexible and immediate in-app update flows on my Android app. I fetch the update type from a remote server, and then use if-else to determine which update type to trigger. As of now, I am experiencing two issues. The flexible…
amo
  • 147
  • 1
  • 3
  • 13
1
vote
0 answers

How to use Google Play Developer API to change in-app update priority

I am trying to implement in-app update feature in my app and I want to set the in-app update priority for each release so I can select type of update to use, but problem is I do not know how and where to set app update priority. I have read all the…
Gopal
  • 11
  • 1
  • 3
1
vote
0 answers

Handle Flexible In-AppUpdate in Jetpack Compose application

I have a BaseActivity which extends ComponentActivity and has abstract method SetComposable. Each Activity now extend BaseActivity and overrides SetComposable which shows Composable screen. InAppUpdates is integrated in application of type Flexible…
1
vote
0 answers

In-App Update Finish Downloading But The Apps Still The Old Version

so I'm working on a In-Apps Update for my application that already published in Play Store. I follow the documentation and try to test it by lowering my version code then run it, but after finish downloading the app, it supposed to re-open the new…
aleen
  • 43
  • 7
1
vote
0 answers

My app closes instead of reloading after installing in app update

I am using react-native, and I want to add in app update to my app. At first I tried using sp-react-native-in-app-updates. But my app was closing after the update was done. "the expected behavior is to reload with the new version". So I decided to…
1
vote
0 answers

Google Play in app update not working if app installed with package manager

I am using Google Play in-app updates to notify my uses for new updates. But the problem is in-app updates not working if the app is not installed from Google Play store. With some curiosity how my production app in app updates working, I downloaded…
Real Tech Hacks
  • 367
  • 3
  • 11
1
vote
1 answer

Play Core in app update giving UPDATE_NOT_AVAILABLE on production release

I have integrated the play core in-app update it's working fine in the testing track but when a release is published in the production track it's always giving the UPDATE_NOT_AVAILABLE flag. I think the problem might be because Timed…
1
vote
1 answer

Why is the "CONTINUE" button not showing in play store when installed app using dynamic link?

If the application is not installed on the phone and Dynamic link is clicked, it is redirected to PlayStore. Here, after installing the Application, the OPEN button appears, while the CONTINUE button should appear. When I press the OPEN button, the…
Emre Memil
  • 233
  • 3
  • 5
1
vote
1 answer

For ActivityResultContracts, what is the alternative for In-App Updates?

I am restructuring my code to use ActivityResultContracts, and I've been able to recreate the old way of doing things with onActivityResult by passing in "codes" with my Intents and just passing them back from the called activity. Everything is…
1
vote
0 answers

FakeAppUpdateManager startUpdateFlowForResult is never calling activity's onActivityResult

I'm trying to use FakeAppUpdateManager to test in-app updates. Logic invokes startUpdateFlowForResult internally…
ror
  • 3,295
  • 1
  • 19
  • 27
1
vote
0 answers

How to remove close icon on inappupdate screen

I am using in_app_update package and would like to force the user to update the app before proceeding. This package works fine however when it prompts the user for update, there is a close icon at the top right corner, which implies that the user…
mcfred
  • 1,183
  • 2
  • 29
  • 68
1
vote
1 answer

Perform in app force update using current and required build numbers

I want to force update my app. Here's what I have done so far. Obtained the current build version of my app using package_info_plus Obtained the enforced build version which I have stored in the firebase remote config. So I used this package:…
mcfred
  • 1,183
  • 2
  • 29
  • 68
1
vote
2 answers

How can I disable Google's in-app update based on build flavor?

I am trying to implement google's in-app updates. When trying to run the app directly from AndroidStudio I got this exception: com.google.android.play.core.install.InstallException: Install Error(-10): The app is not owned by any user on this…