-
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
Bug: Install fails on device sleep #24
Comments
Weird. I tried it just now: started download, went to home screen, turned screen off, and returned to app 5 minutes later. The first time I faced the same issue as you, but it worked the second time. So I'm guessing something is wrong with the foreground/background detection (using this plugin) or the way it's being used. Does it fail consistently for you? Do you get a notification asking you to return to the app? |
I can't say yet if it's consistent, I'll keep an eye out and test more. I have seen that notification at times but it doesn't always present, I'm removing androids battery optimization to see if that helps. |
I just noticed the new installer plugin used in the latest release (changed as part of #25) does not need us to manually wait for the user to return to the foreground. So there may still be bugs with the notification being sent, but the install itself should now be more consistent in waiting for you to return to the App. |
Running the 0.2.4 beta:
Sometimes I click update on an app and the download starts and if I leave the app or the phone sleeps at some point during or after download, then I can't install the update when returning to Obtainium.
If I open the repo, the update button is greyed out, and unless I remove the app from obtanium and re-add it I can't install the latest version.
The text was updated successfully, but these errors were encountered: