You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEATURE REQUEST] Improve the removed from original folder option in Auto Uploads #4357
The option removed from original folder in auto uploads is potentially destructive
Removing the local file when worker moves the taken pictures to the scoped storage forces the uploads to work in order not to lose the pictures/videos. If upload fails for X reason and is not recoverable, the file is lost: it is neither in server, nor in local
Some solutions:
Adding a warning when option is clicked: The pictures/videos taken by the camera will not be available in your device anymore. This could be potentially dangerous in case of failure in the uploads because external reasons. In that way, problem is not solved but user is warned about the existing perils.
Removing the local file only when the upload is finished. Not sure how to control this, unless different kinds of uploads are distinguishable.
Other ideas...
TASKS
Research (if needed)
Create branch feature/feature_name
Development tasks
Create Work to remove local file
Enqueued two works: uploadFileFromContentUriWorker and removeLocalFileWorker.
Removed code relate to remove local file in UploadFileFromContentUriWorker
Activity
JuancaG05 commentedon Apr 5, 2024
Could be that auto-uploads are removed instantly because permissions are removed by Android over the files after a while... Needs to be checked