←back to thread

410 points morsch | 1 comments | | HN request time: 0.214s | source
Show context
jeroenhd ◴[] No.43982964[source]
> SAF cannot be used, as it is for sharing/exposing our files to other apps

SAF can be used. There are reasons why this wouldn't be a good fit for NextCloud (you can't share your entire internal storage, your download folder, or the root of an SD card, for instance), but I don't think NextCloud's statement makes sense.

replies(3): >>43983014 #>>43983158 #>>43985264 #
jasonlotito ◴[] No.43985264[source]
Just to make sure: Google software has the same exact permission structure across the board? e.g. No Google product uses the same permissions NextCloud is seeking, and instead, they are using SAF? Especially for things that do what NextCloud is doing here.

I just want to be sure that Google is playing by the same rules they they put out for NextCloud and other app developers.

replies(3): >>43986860 #>>43987759 #>>43987858 #
tadfisher ◴[] No.43987858[source]
Open the Drive app, tap the "New" button, and select "Upload". You get a file picker UI. This UI is provided by the Storage Access Framework that Nextcloud says they cannot use.
replies(2): >>43988618 #>>43990217 #
apitman ◴[] No.43990217[source]
That's just the Drive app. The system overall certainly has more capabilities than are made available to developers[0].

[0]: https://support.google.com/googleone/answer/9149304?hl=en&co...

replies(1): >>43990423 #
1. tadfisher ◴[] No.43990423[source]
Yes, but Nextcloud is adamant that they need MANAGE_EXTERNAL_STORAGE permission, not access to the device backup system API.