Both storage permissions are required on all Android versions. Unfortunately incorrectly even on Android 11+ (meaning it should work on Android 11+ without any storage permissions).
In order for both permissions to be declared in the Manifest on all Android version (even on Android 11+), →
DefaultFileScope
must be set to →Legacy
in the designer.
Note: WRITE
permission is no longer avialable on Android 11, but is still wrongly needed to make it work on Android 11+ devices.
Check this app (especially on your Android 11+ devices). Download the aia, build the APK and install it:
textFile_save.aia (2.7 KB)
Screenshot - Android 11 & 12
I've already pointed out this bug countless times, last also on Niotron.
This is definitely my last statement that I will make on this subject. Too many times I've asked the MIT team for an answer/clarification on this.