Search code examples
androidflutterandroid-permissions

PermissionStatus.restricted - image gallery FLUTTER


I'm debugging my Android device and trying to pick an image with image_picker through ImageSource.gallery.

The device is asking permission for ALL storage (I'm using permission_handler).

The problem is when I try to check permission status for manageExternalStorage which comes up always as Restricted.

Is there a way to check permission for Storage?


Solution

  • I was able to make it work by changing the permission from manageExternalStorage which is restricted to storage.