Permission write_external_storage NOT WORKING IN android 11

Hi

I have problem with permission write_external_storage. On adroid 10 it works fine on android 11 is not working.
I want to run image picker and camera but it returns error 908: The permission WRITE_EXTERNAL_STORAGE has ben denied, Pls enable it in the settings app.

App is asking me for permission , I click ok but it returns error anyway when I try to run for example image picker.

How to solve this ?

Yes, Android 11 does not allow WRITE_EXTERNAL_STORAGE permission.

1 Like

Thank You for reply.

Is there any solution for android 11 to use image picker and get access akso to camera ?

Yes right.

See this topic:

In Screen1 Properties, set the DefaultFileScope to Legacy.

THANK YOU ! It work now super fine !

1 Like

Yes, but this is a bug that apparently affects all components that can store something.
There is no point in declaring the WRITE permission on Android 11 as it doesn't exist on Android 11 and works the same way as the READ permission. But if WRITE permission is not declared you will get this strange error 908.
This bug needs to be fixed.

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.