It basically seems to work. I received a test APK (from Krish Jha - Niotron team) that copies a text file from the assets to /Download or /Documents (of course without WRITE permission, which is no longer available on Android 11).
/Download and
/Documents
are the ONLY two folders where this works. (even /Downloads does NOT work!)
Here is a test app that saves a text file in the β /Download and β /Documents folders (without WRITE permission, as this is no longer available on Android 11).
Note: The file names have to be changed with each button click, otherwise it will only work as long as no file is manually deleted from /Download or /Documents.
Steps to test the app (especially on Android 10 and 11):
Install the APK and test ... it will work.
Unistall and reinstall it. Now it does no longer work.
Then check the CheckBox and try again ... it should work again ...
This behavior is really strange.
Especially because I don't use any method regarding "shared storage" (FileScope.Shared).
Maybe @ewpatton can say something about it.
Thanks Anke,
I noticed that and tried to ask read permission, but this only work when defaultFileScope set to legacy.
Where is the documents for file scope block?
Yes, I mentioned that several times, e.g. here.
Whenever you need READ / WRITE permissions for devices with Android 4.4 up (API 19+ / KitKat) you must set defaultFileScope = Legacy to get READ / WRITE permissions declared in the Manifest.
The same with Niotron.
But on Android 10 there is no problem with deleting files from /Download and /Documents or after uninstalling / reinstalling the app. These issues are only present on Android 11.
the app's usage of the permission must fall within permitted uses, and must be directly tied to the core functionality of the app. If your app includes a use case that's similar to the following examples, it's likely to be allowed to request the MANAGE_EXTERNAL_STORAGE permission:
File managers
Backup and restore apps
Anti-virus apps
Document management apps
On-device file search
Disk and file encryption
Device-to-device data migration
First I got the same result with Niotron as with AI2 (app crashed).
Then I got a an APK after this issue was fixed by from Krish Jha (Niotron team).
Did you test this APK?