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
CheckBoxand 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.
