nextcloud / nextcloud/ios

photos/videos vanish when uploading process is interrupted due to wifi/mobile connection lost

Open
#1,266 0 comments 3 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

Expected behaviour

When mobile or wifi connection is lost and the app is closed for some reason, when connection is reestablished and the iOS app is opened up again it should restart uploading process.

Actual behaviour

iOS app is in foreground and starts auto upload process. When connection of wifi or mobile is lost during upload and will reestablished again photos/videos are not shown in the transfer dialog anymore and therefore will not uploaded.

Steps to reproduce

Take a photo. Open iOS app and wait until new photos are recognized. Wait until upload starts. Disconnect mobile or wifi connection during upload and close the app. Reestablish the connection, open the app again and have a look in transfer dialog. Files are not shown anymore.

Reasoning or why should it be changed/implemented?
iOS version

13.4.1

App version

2.25.9.2

Server configuration

Operating system:

Web server:
nginx 1.17.10

Database:
MariaDB

PHP version:
7.3.17

Nextcloud version: (see Nextcloud admin page)
18.0.4

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

Reproduce the interrupted upload on the iOS app using the listed steps: start an upload, disconnect Wi-Fi or mobile data, close the app, reconnect, and reopen it. Trace how items appear in the transfer dialog before and after relaunch. Done means interrupted photos and videos remain available in the transfer dialog and resume uploading after the connection returns.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, swift
Domain
mobile-dev
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.