Karumi / Dexter

Android library that simplifies the process of requesting permissions at runtime.
http://karumi.com
Apache License 2.0
5.23k stars 671 forks source link

Haven't supported Manifest.permission.MANAGE_EXTERNAL_STORAGE yet (Android 11) #266

Open anhduy5689h opened 3 years ago

anhduy5689h commented 3 years ago

onPermissionDenied() is called when I set code to grant Manifest.permission.MANAGE_EXTERNAL_STORAGE

pedrovgs commented 3 years ago

Hi @anhduy5689h thanks for creating the issue. Right now I have no time to develop this feature and I hope any other contributor can help us with this feature. Meanwhile, it looks like there is a workaround you can use if you configure your AndroidManfiest.xml file to use this requestLegacyExternalStorage flag equal to true.

More information can be found here.

DatL4g commented 3 years ago

@pedrovgs The workaround is not working on Android 11 because the system ignores the requestLegacyExternalStorage flag

Information about Scoped storage enforcement can be found here

abbasalim commented 3 years ago

XXPermissions worked