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
0
votes
0 answers

com.google.android.play.core.install.InstallException: -6

I'm trying set a success listener for appUpdateInfoTask but there is no success, it always gives me the following error I/Profile Activity: onFailure: falied com.google.android.play.core.install.InstallException: -6: Install Error(-6): The…
Akash Jain
  • 684
  • 9
  • 23
0
votes
1 answer

How to fetch the live app version programmatically?

Initially, to fetch the live app version programmatically I was using the following snippet try { newVersion = Jsoup.connect("https://play.google.com/store/apps/details?id=" + appPackageName + "&hl=en") …
AmigoPal
  • 39
  • 1
  • 4
0
votes
1 answer

How does Google select users for the staggered roll-outs in the Google Play Store?

I can't find Google's update policy for staggered roll-outs. If I have multiple staggered roll-outs, for example, staggered roll-outs at 20%. Does Google update the same users or does Google randomly re-select the updated users for each update…
0
votes
0 answers

not able to verify in-app update with google play console

I am trying to test the feature of in-app upgrade of android and to do so i have to upload the app in internal track. In order to do so i have made below required changes 1. enable the setting in google play store to participate in the internal…
0
votes
1 answer

What happens when using clientVersionStalenessDays() if more updates are available?

I'm looking into supporting in app updates, and wanted to use the google core library for handling this. While doing this a question came up regarding the clientVersionStalenessDays() function.…
0
votes
1 answer

FakeAppUpdateManager - No longer working on API 31+, does not specify mutability flag when creating PendingIntent, when fetching appUpdateInfo

Using PlayCoreKtx version 1.8.1, I have an instrumented test that tests the inAppUpdate functionality of Play Core. I have a function in my test that looks like this private fun processAvailableUpdate(appUpdateType: AppUpdateType) =…
Sean Blahovici
  • 5,350
  • 4
  • 28
  • 38
0
votes
1 answer

Play in-app update not working for apps with Play App Signing Enabled

I have been trying for quiet some time to figure out why my in-app updates won't work. I basically tried all I could and search the internet with no avail. Then today I decided to test the code with internal app sharing. The code works fine and…
Stefano Mtangoo
  • 6,017
  • 6
  • 47
  • 93
0
votes
2 answers

Why is In-app updates doesn't update the app as expected?

Following is the code inside my SplashActivity.kt. Whenever there is an update available, mostly it doesn't show at all, but I think that is not because of any mistake in my code but as I learned it takes some time to show the user about the new…
Codist
  • 737
  • 8
  • 23
0
votes
1 answer

How to implement In app Update for Android production bundle in Play Store

I have implemented In App Update in my app, its working fine in on both apk and bundle in Internal Testing but its not working when I Upload the production bundle in playstore, I do many scenarios in Internal testing and its working in all but not…
Rahul
  • 219
  • 1
  • 10
0
votes
1 answer

In App Update not showing Update Screen untill I open playstore and see update button in Android

I implement In-App Update feature in my android application but it not working untill i go to playstore app and view update button. Please suggest me some solution. Thanks public void ImmidateUpdate() { AppUpdateManager…
0
votes
1 answer

App Update Android Studio Version name and Version code

For App Update , which i need to change version code or version name in android studio minSdkVersion 21 targetSdkVersion 30 versionCode 11 versionName "11"
0
votes
1 answer

android AppUpdateInfo.updateAvailability always return 1

private fun checkRecentVersion() { val appUpdateManager = AppUpdateManagerFactory.create(this) val appUpdateInfoTask = appUpdateManager.appUpdateInfo appUpdateInfoTask.addOnSuccessListener { appUpdateInfo -> if…
0
votes
1 answer

Hitting Google Play Android Developer API through Google Cloud sdk

I am trying to set priority for an app-update using Google Play Developer Publishing API. As per documentation,I need to call androidpublisher.googleapis.com services. I installed Cloud SDK in my Linux device to make service call.Also i have…
0
votes
1 answer

Understanding how work with flexible in-app updates

I'm trying to implement in-app updates in my application but I'm facing a doubt about how to work with flexible updates. I will show the flexible update to the user in the splash screen when the user open the application, what I need to do before…
0
votes
1 answer

Android in-app update keeps asking to update

I have some serious updates that I need to do in my application and I want to make sure that all of the users in my application will download it. In order to do so, I use an in-app update where I took the answer from here Basically what I did is as…
Ben
  • 1,737
  • 2
  • 30
  • 61