4 ms·
Why doesn't Nextcloud use the scoped storage access introduced in recent years? Users could give Nextcloud access to the particular folders they want synced. Is
by SpaghettiCthulu 1y ago
Why doesn't Nextcloud use the scoped storage access introduced in recent years? Users could give Nextcloud access to the particular folders they want synced. Is there some kind of access they need that those APIs don't support?
- threeseed 1y agoOften it's because setting up a David versus Goliath story is good for business. Spotify did this all the time where they would complain about Apple not allowing them access to some private API and then when they did didn't even bother to use it.
- palata 1y agoNextcloud is about synchronising files. Some people may only sync media files, but surely you can imagine that others want to sync other files, right? It's not that crazy, Dropbox, GDrive, iCloud, etc. all do that. Do you really think it seems unfair that a file sync app would want to access files?
- f33d5173 1y agoThis is the one that only allows access to media files, yes? This is fact the API they are using. They expound in the article that it is insufficient for their use case.
- izacus 1y agoNo, this is the one that allows access to any files on shared storage if the user selects them in the dialog.
- f33d5173 1y agoThis is not what the docs claim, but I could be misreading them. If you're thinking of another API, they support an additional file access api that allows selecting individual files, not entire folders. This is also not what users expect.
- izacus 1y agoYou're vague, which docs and which API? Scoped storage via SAF allows directory tree selection.
- apitman 1y agoThese APIs don't work with native code.
- SpaghettiCthulu 1y agoNextcloud's app does not use native code.
- deleted 1y ago[deleted]
- apitman 1y agoMy point is more that the API isn't a solution for everyone, even if it would work in this case. Even if it would, the API is terrible.
- jillyboel 1y agoGoogle will not let you pick the root folder, making it impossible to sync everything. Note that Google's and other American Big Tech apps do not have this issue, because Google only cares about taking permissions away from "small" players.
- tadfisher 1y agoGoogle's comparable app (Drive) also cannot pick the root folder. As of Android 11, even apps with MANAGE_EXTERNAL_STORAGE cannot access the root folder.
- Saris 1y agoNextcloud isn't really designed to sync the entire device, it's meant to sync your Nextcloud folder to a subfolder somewhere which works fine with the new storage access permissions.
- jillyboel 1y agoIt's designed to sync the files the user wants synced, be it files produced by the camera app or some other app that operates on a directory on your device, such as your Downloads folder, audiobook folder used by your audiobook app, or the notes folder where your notes app writes the notes.txt, or just straight up everything.
- Saris 1y agoIt can do that just fine with the new permissions, you just can't sync the root folder or Downloads folder which is OK as documents, audiobooks, etc would be stored in their respective folders and not Downloads.
- jillyboel 1y agoYou mean that that's ok for you. Which is fine. It isn't ok for other people, which is also fine. Some people may not want to have to reopen Nextcloud any time a new directory appears on their device so they can add it to Nextcloud, while the other American bigtech backup apps can just pick it up automatically no problem.