InstantUpload uploads removed pictures
Steps to reproduce
- Configure InstantUpload to automatically send pictures on WiFi network.
- Take a picture, Nextcloud app notices it and add a pending transfer.
- Remove the picture from the photo app, transfer is still pending and Nextcloud app will upload the picture when WiFi becomes available.
Expected behaviour
I expect Nextcloud app InstantUpload feature with WiFi-only to have a behavior of "batch upload" whenever a WiFi becomes available. Therefore, if I remove a picture on the device before transfer happends, I expect the pending transfer to be removed from the queue.
Actual behaviour
The photo is transferred even though it was deleted on device before transfer could occur.
Note that when a picture is deleted after transfer happens, it seems it is not removed from the Nextcloud server either.
Screenshots
Available upon request.
Logs
Available upon request.
Reasoning or why should it be changed/implemented?
Environment data
iOS 17.1.2
Nextcloud iOS app version: Nextcloud Liquid for iOS 4.9.2.20
Server operating system: Debian
Web server: nginx
Database: sqlite
PHP version: 7.4
Nextcloud version: 25.0.13
Thanks!
Maybe this should be a configuration? Because my users expect all photos taken to be uploaded, regardless of what is cleaned up in the device photo roll afterwards.
:+1:
To elaborate on my use case: I'm using my Nextcloud for backing up my pictures as an iCloud alternative. Therefore, I would expect the photo roll on my device and the Nextcloud folder to be in sync.
Regarding both use cases, I could see a point in keeping deleted photos into my Nextcloud, but I would definitely need a way to tag "removed" photos on my iPhone within Nextcloud to be able to quickly sort them/remove them/filter them
Yes, I read this a lot. We have two use cases to consider:
- Having all photos shot being uploaded to save them. Deleting photos on the device is possible to save space.
- Syncing everything the same way as iCloud photos. a) with copies of all photos on the device b) with access to the photos on the Nextcloud to save space on the device. Btw, I wouldn't go with 2a.
At the moment we have 1). 2) would be kind of album application which we currently not have.