nextcloud / nextcloud/ios

"Set as available offline" stops when swiping the control center

Open
#2,523 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Swift
Stars
2.5k
Forks
1k
Avg merge
2d 18h
Merged PRs (30d)
13

Description

Steps to reproduce
  1. Open the Nextcloud App and "Set as available offline" a big video file of at least 400MB
  2. While the file is downloading do (Swipe down the Control Center / Lock the screen / even slight swipe down of lock screen)
  3. The downloading stops as soon as 2. is done
  4. To fix it we have to refresh app using swipe down and start again
Expected behaviour

I think the downloading (including all nextcloud activities) should stop when the screen is locked as it would be efficient and save battery. However the downloading or any such activities shouldn't stop even when it goes in background as long as screen is not locked.

Actual behaviour

"Set as available offline", when this is selected and the file is actively downloading and as soon as the screen is disturbed then the downloading stops.

Screenshots

If applicable, add a screenshot showing the issue.

Logs
If applicable, you can post the iOS app or server logs (removing any sensitive information).
Reasoning or why should it be changed/implemented?

Swiping the Control Center on Ipad and nextcloud stoping downloading is not good

Environment data

iOS version: 16.5.1

Nextcloud iOS app version: 4.8.4.4

Server operating system: Raspberry Pi OS 64

Web server: Apache

Database: mysql

PHP version: 8.2

Nextcloud version: 26.02

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The report names no files, tests, or entry points. Start by reproducing the 400MB offline download on iOS 16.5.1 while opening Control Center and locking the screen, then trace the app's download and background-lifecycle handling. Done means downloads continue when Control Center is opened but stop when the screen is locked, with coverage for both cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, swift
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.