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

[BUG] Downloads stop too easily (after 0.6.2?) #737

Open
LFd3v opened this issue May 13, 2024 · 4 comments
Open

[BUG] Downloads stop too easily (after 0.6.2?) #737

LFd3v opened this issue May 13, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@LFd3v
Copy link

LFd3v commented May 13, 2024

Describe the bug
First of all, thank you a lot for Droid-ify, I have been using it for quite a while, and it has been a pleasant experience.

But since a few versions (I think it started from version 0.6.2 at least) any long downloads on a slow connection fails when the app is not in the foreground. It happens mostly when there are queued update downloads, even if there is a download notification going on and I have removed the app from the battery optimization list.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Updates
  2. Start the update for some apps
  3. Go to home screen, or another app
  4. Wait for a while (or lock the screen)
  5. Most of the times the download will stop if the connection is slow (from Divest repo, for instance)

Expected behavior
Even if the download is slow or it disconnects, the app should retry it a few times before failing, even when the app is not in the foreground.

Screenshots
N/A

Smartphone (please complete the following information):

  • Device: MotoG8 (RAV/Sofiar)
  • OS: Android 11
  • Version: 0.6.3

Additional context
Again, it does not happen all the time. It seems to happen a lot with slow connections and big apps, like the Mulch Webview from DivestOS, in my case. Right now I have a slow connection, but the main problem is that it seems that it does not happen if I keep the app open in the foreground.

Thanks again. Please feel free to ask for more info.

Regards

@LFd3v LFd3v added the bug Something isn't working label May 13, 2024
@Iamlooker
Copy link
Member

Have you allowed "Ignore Battery Optimization"?

@LFd3v
Copy link
Author

LFd3v commented May 13, 2024

Thank you for your quick reply. I am not sure if I have granted the permission when I first installed the app or in the app settings, but I think the final result would be the same, right? Is there a way to make it request the permission again after it was configured?

Screenshot_20240513-134544_Settings

@Iamlooker
Copy link
Member

Yes, this is perfectly set up

I will try this on my own device and revert back

@nutpantz
Copy link

nutpantz commented May 14, 2024

I have the same issue, sometimes my wifi is only 400kbs or less and it falls to download even a 5mb file.
I can't say it it's the app, repository or Android itself.
But some days i have multiple files that i just cannot up date because the download fails.
Usually with an error something like"unable to complete action" (i forget right now)
Or i get a "failed to verify download" quite often.
Or no error at all

Happens sporadically on most of my devices
Pixel 6 a12
Pixel 8pro a14
Black view a9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants