-
Notifications
You must be signed in to change notification settings - Fork 132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inapp Update Fails #1418
Comments
Hey @mohib-irshad-10p, thanks for getting in touch. Can you clarify a few things, please:
|
I'm facing the same issue as well.
|
Thank you @Jamminroot for responding.
|
@Jamminroot I've more information on this. |
@mohib-irshad-10p I was able to reproduce the issue, we're looking into it. |
Ok, Thank you very much @russelarms :) |
The same situation for me, I cannot update app on most part of devices. |
@russelarms Since it was previously working fine with current SDK, am I correct in assuming that there probably won't be any SDK update for this and something from the backend is just going to change and I can safely distribute my APK file for now and expect it to work automatically for future updates? |
@mohib-irshad-10p |
@mohib-irshad-10p @ashikns @brzezinol |
@russelarms Yes issues seems to be fixed now. Thank you very much for responding and fixing the issue so quickly :) |
Hi, we are experiencing this problem right now - we've set an old version to mandatory to force update of some obsolete versions, but the whole distribution stopped working. Doesn't matter if installed version is older or newer than the mandatory one, every update fails on 'Failed to download app update'. Could you help us, please?
|
@AnastasiaKubova @russelarms
Where as the same build and same distribution on Oneplus device ✅ is working fine
|
@build3r please try to check these steps on the Realme device. |
@build3r Could you also please confirm that the download manager application is enabled on these devices? |
@AnastasiaKubova I did try all of the steps, This happening on all the versions both on staging and public beta, also both mandatory and optional updates.
|
@AnastasiaKubova This was the the first I verified |
@build3r Does this issue happen only on Realm devices with Android 11?
If you add this permission does the issue disappear?
I'm not sure what you mean This issue happens here. Probably these devices have a specific package installer. |
@AnastasiaKubova The above mentioned workarounds did not work.
And mentioned to use the new packageInstaller sessions api |
Hi, @build3r ! Thanks for your suggestions. It looks like a feature request. I will create a WI on our board about it. But feel free to open a contribution PR with these changes if you already have a ready solution. For now as an alternative way for Realm devices you can try to update your apps via the App Center install portal. |
There are times when uploading a mandatory app update fails. I am using the default popup that shows when an app update is available. Once download completes, a toast message is shown saying "Failed to download app update"
and on Logcat, I can see:
"AppCenterDistribute: Failed to download apk-name (version code) update: Installer not found"
On debugging the SDK itself, I found that
intent.resolveActivity(mContext.getPackageManager()) == null
on line 88 of file ReleaseDownloadListener.java is true which probably why this is happening.
Also, please note that this does not happen for every build but if it is happening on a build, it will happen on every phone that I could test on, including emulator as well and real devices.
I've also tried the following:
Please someone help.
The text was updated successfully, but these errors were encountered: