Android 11 Scoped storage permissions

Android 11 If you are targeting Android 11 (targetSdkVersion 30) then you require the following permissions in AndroidManifest.xml for modifying and document access. <uses-permission android:name=”android.permission.READ_EXTERNAL_STORAGE” /> <uses-permission android:name=”android.permission.WRITE_EXTERNAL_STORAGE” android:maxSdkVersion=”28″ /> <uses-permission android:name=”android.permission.MANAGE_EXTERNAL_STORAGE” /> For Android 10 you place the following line in your AndroidManifest.xml tag android:requestLegacyExternalStorage=”true” the method below checks if the permission is allowed … Read more