Google will make file manager devs submit a form to get broad file storage access in Android 11

Google will make file manager devs submit a form to get broad file storage access in Android 11

The Android 10 beta 2 released earlier this year revealed that Google was planning to limit the way apps can access your phone’s internal storage. For this purpose, Google introduced something called Scoped Storage. However, due to backlash from several developers, the company had to backtrack on its implementation. The company allowed apps that don’t yet target Android 10 to work as they used to and gave developers time until November 1st, 2020 to update their apps to target Android 10.

Apps that already target Android 10 by default can only see files in their app-specific directory. In order to access files that other apps have created, such as photos, images, videos, and audio, the apps still have to request the READ_EXTERNAL_STORAGE permission, but getting this permission now no longer gives access to the entire /data/media partition. Instead, they only see files in the well-defined locations provided by the MediaStore API. While this implementation works for apps that require access to media files, it doesn’t work for file manager apps.

File managers need broad access to the external storage in order to work and if they target Android 10, the only way to get broad file access is to use the Storage Access Framework (SAF) API. Even though SAF has been around since Android 5.0 Lollipop,  developers tend to not use it, as it has a difficult and poorly documented API, a poor user experience, poor performance, and poor reliability. Now, Google aims to address these issues with Android 11.

According to a recent talk titled “Preparing for Scoped Storage” presented by Googlers Roxanna Aliabadi, Zimuzo Ezeozue, and Yacine Rezgui, Google is planning on granting “special app access for select use cases.” As part of the talk, they mention that this “special app access” is only given to apps that prove a “clear need” for full access to shared storage, “submit a declaration form” to Google, and don’t access “external app directories”.

This means that file managers will have to ask Google for permission to access the external storage, much like how apps requesting SMS/Call Log permissions have to ask Google. Thus, there could be arbitrary enforcement issues, much like we’ve seen in the past with Google Play’s decisions. Lastly, another potential issue is the fact that file managers will no longer have access to external app directories. Therefore, things like mods for games won’t work anymore.


Source: YouTube

Via: Reddit

About author

Pranob Mehrotra
Pranob Mehrotra

A Literature and Linguistics graduate with a keen interest in everything Android. When not writing about tech, Pranob spends most of his time either playing League of Legends or lurking on Reddit.