Android 11 storage FAQ - Android Developers - Medium (original) (raw)

Illustration by Molly Hensley

Android 11 storage FAQ

nandana

First introduced in Android 10, scoped storage is designed to protect app and user data and reduce file clutter. Since then, you’ve provided a lot of valuable feedback, which has helped us evolve the feature — thank you. Android 11 includes several notable enhancements that are based on your feedback. For example, we’ve enabled direct file path access to media files to improve compatibility of existing code and libraries. We understand that many apps, especially complex ones like Viber, require thoughtful planning to adopt scoped storage in order to continue supporting existing users, ensure adherence to current storage best practices, and maintain backward compatibility. Based on conversations with developers and lively discussions on public forums, we’ve prepared an FAQ to help you better understand various capabilities, behavior changes, and restrictions in scoped storage.

FAQ

Does Scoped Storage allow apps to access files with file paths, using File API, for example?

How does the performance of file path access compare to Media Store APIs?

My app needs broad access to shared storage. Is Storage Access Framework the only option available?

What categories of apps should request the MANAGE_EXTERNAL_STORAGE permission?

Does using Storage Access Framework require Google Play policy approval?

Are there any further restrictions to using Storage Access Framework in Android 11 as compared to Android 10?

How can apps test out Scoped Storage changes?

Are apps in scoped storage limited to writing files into their app-specific data directories?

What is the guidance around using the Media Store DATA column since it’s been deprecated?

For apps that have opted out of Scoped Storage, when will they have to be compatible with Scoped Storage?

Are there any exceptions for Android/obb directories given that some package installers, like app stores, need access to it?

We hope you find this FAQ useful in planning your adoption of scoped storage. Please visit our best practice documentation for more information.