Droid-ify / Droid-ify/client

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

Open
#737 14 comments 1 reaction 0 assignees View on GitHub
bug
Dominant language
Kotlin
Stars
7.4k
Forks
214
PR merge metrics
No merged PRs in 30d

Description

**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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.