Project

General

Profile

Actions

Feature #478

closed

Implement scoped storage with API 29

Added by Dazed Dazed over 5 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
3.x
Start date:
07/23/2019
Due date:
% Done:

0%

Estimated time:

Description

According to the android documentation it should be possible to provide all necessary storage functions without 'storage' permission by using the Storage Access Framework(SAF).

I think using the ACTION_CREATE_DOCUMENT & ACTION_OPEN_DOCUMENT intents should provide all required functionality.

I've never seen a browser that uses ACTION_CREATE_DOCUMENT for downloads, all require storage permission to download files, which I find disappointing.

https://developer.android.com/guide/topics/providers/document-provider

It may be necessary to keep storage permission for support of versions earlier than Android 4.4, but ideally the app would never ask users for storage permission when using newer versions.

Android Q brings scoped storage which gives big improvements for shared storage privacy. It will be compulsory in R. Apps which use SAF will have smooth integration.

https://developer.android.com/preview/privacy/scoped-storage

Actions

Also available in: Atom PDF