nextcloud / nextcloud/ios

Files edited outside of NC iOS app are not synced towards other apps using the edited file

Open
#3,401 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

How to use GitHub
  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Steps to reproduce
  1. Edit a file in an app which pushes the changes over webdav.
  2. Open the changed file in another app where the file is added via iOS File Explorer (FileProvider)
  3. Notice the differences of the files
  4. Check out the iOS Files app: The edited file vanishes shortly after opening the app
  5. If you open the NC iOS App and wait a couple of seconds, the file is again visible in the iOS Files app and shows correctly in the app from step 2.
Expected behaviour

The NC iOS app should push / trigger an update of the edited file towards the iOS NC FileProvider in the background. So, that a new app can open the updated file.

Actual behaviour

The file isn't synced back towards the iOS FileProvider unless the NextCloud app is opened / brought to front.

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

It is convenient that NC iOS App keeps files in iOS File browser up to date. So, other application can get the latest version of the file without open the NC app all the time.

Environment data

iOS version: 18.3.2

Nextcloud iOS app version: 6.5.0.5

Server operating system:

Web server: Apache, nginx

Database:

PHP version:

Nextcloud version: 29.0.9

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

Start by reproducing the steps with iOS 18.3.2, Nextcloud iOS app 6.5.0.5, and Nextcloud 29.0.9, focusing on the FileProvider behavior when the app is backgrounded. No source file or test is named; done means an externally edited file is updated in the iOS FileProvider without bringing the Nextcloud app to the foreground.

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
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.