From May 5, 2021, applications on Android 11 will be able to request access to all user files. For this, developers must first write a "declaration form" before obtaining the approval of the Play Store.
While Android 12 is currently in beta testing, Google is not leaving out the current version of its operating system. New things are still to be expected for this year before the big update, especially on the developer side. Currently, these must include a line called "READ_EXTERNAL_STORAGE" in their source code if they want their application to have access to the user's files. In Android 11, this results in an authorization request from the user .
Google classifies the applications incorporating this line of code in the category of “Scoped Storage”, namely those requiring access to files stored on the smartphone. If accepted, they are then able to read the different files or even reorganize the folders . But Google doesn't let just anyone fall into this category. Also, applications that necessarily need this permission to function, such as file managers, are generally developed for Android 10 , which gives programmers greater freedom on this issue.