nextcloud / nextcloud/android

App is unable to download files properly with screen off

Open
#6,230 2 comments 0 reactions 0 assignees View on GitHub
approved bug feature: power management feature: transfers needs review pr exists
Dominant language
Kotlin
Stars
5.6k
Forks
2k
Avg merge
2d 18h
Merged PRs (30d)
92

Description

### Steps to reproduce
1. Download a reasonably big file that will take a few minutes to download (mine was 500MB)
2. Turn the screen off and wait for the file to download
3. Notice your files weren't downloaded and an error was printed instead

note: I dont use any specialized tools or settings that would kill NC when device switches to sleep. Battery optimization is set to default on Android 10 (adaptive).

### Expected behaviour
App should download files on the background or with screen off with no problems.

### Actual behaviour
![Screenshot_20200605-232622_1](https://user-images.githubusercontent.com/36133540/83940552-5e51f400-a7e5-11ea-927d-ebb1728477c2.jpg)

### Environment data
Android version: 10

Device model: op5t

Nextcloud app version: 3.11.1

Nextcloud server version: 18.0.4

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.