-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEATURE REQUEST] Scoped Storage #2877
Comments
Needed: upload targeting to API 29. Should we do in advance and test separately? or... is it not a problem to do in the same PR/PRs as scoped storage? @abelgardep @davigonz |
We could do it separately if we add the next attribute: requestLegacyExternalStorage. |
Some regards with this, after discussing (from #2872 (comment) by @abelgardep ). The initial question is: how must be stored a file in the device after downloading??. There will be three kinds of download (by @abelgardep)
What i think about it:
As @theScrabi , the "Download" option should have a different meaning (saving the file somewhere in the device storage, out of the scoped storage) and should have renamed to "Export" or something similar when it is implemented. This discussion has some product and security concerns, that must be agreed before implementing. |
I think export and safe somewhere on the storage is already possible with native Android feature. Then "Select and download" is no longer needed. If users really need it, they can set ab. offline. |
We could check this repo when we decide to work on Scoped Storage. It could have interesting information. |
Migration from current storage to scoped storage.For a common scenario: App installed and files are stored in external storage in the device. Case 1: Device API<29 (before Android 10) Case 2: Device API>=29 (Android 10 and later) EDIT: We could request preserveLegacyExternalStorage so we can migrate files by ourselves: https://developer.android.com/training/data-storage/use-cases?hl=en#migrate-legacy-storage Fresh installFiles are stored in scoped storage location as expected. Nothing to do here. |
I think that we should resume the work in #125 before moving to ScopedStorage. Scoped storage is limited and we should free space after each account deletion. As #125 (comment) states, there are 2 different cases:
|
Place to discussion about the necessary feature in the close future
Documentation:
https://developer.android.com/preview/privacy/storage?hl=en
https://developer.android.com/training/data-storage
Scoped storage will provide a way to enclose user data related to an app.
Research: #2894
TASKS
Chunk uploads
works as expectedPR
This is part of Android 10 target: #2576
The text was updated successfully, but these errors were encountered: