Skip to content
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

Soft-lock while installing update in the background #7

Open
Matti-Koopa opened this issue Aug 21, 2023 · 1 comment
Open

Soft-lock while installing update in the background #7

Matti-Koopa opened this issue Aug 21, 2023 · 1 comment

Comments

@Matti-Koopa
Copy link

The app will hang on "installing update" if not in the foreground.

Steps to reproduce:

  • On the new version available popup initiate the download
  • Press the circle button to minimize the app or otherwise switch app
  • Wait a certain amount of time for the download to be finished
  • Bring the app to the foreground again

What I expect to happen:
The default Android "install apk"-popup should appear after the download, asking me to install the new version.

What happens instead:
Nothing. The app displays an arrow animation and the text for installing updates never goes away.

The app tries to show the "install apk" system popup, but either this fails because the app is minimized or the app just doesn't try to show it if it's not in the foreground.
Instead, the app should listen to the OS event for beeing brought back to foreground and then try to show the popup again or alternatively provide a button to do this.

@Doubs115
Copy link

Debated on making a new issue but I think it relates to this one.

I also had a simular issue with the updates in that it needed to be in the forground. If I did anything else or even if I simply let my phone idle and the screen turn off, it would say the download failed. I had to baby it and make sure it didn't sleep, vary anoying.

So the fix is maybe the app needs to request backround usaged.
Aditionally, I noticed that with slower connections it had a hard time and would fail, so an auto retry download (or even a manual retry download) seems needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants