Test on AI2 test server - targetSdkVersion=33 │ Aug 31, 2023 │ storage permissions

The next bug: Copy files to one of the Shared folders

It is no longer possible to copy a file from the assets or the ASD to one of the Shared folders on Android 13+, at least not with the File component. Well-known Error: "The permission WRITE_EXTERNAL_STORAGE has been denied. Please enabe..."

The ominous DefaultFileScope construct, which among other things incorrectly declared WRITE_EXTERNAL_STORAGE (even under Android 11+, and yet required there in order to function) in the Manifest, turns out (finally) to be what it always was: half- baked and unnecessary, as I have pointed out and explained often enough.

In short: On Android 11+, storage permissions should generally not be required (and therefore not requested) for any file types (media & non-media) in the Shared folders created by the app itself.

2 Likes