How to detect if user pressed 'Never ask me again' in permission popup for android

My code looks like the following

const cameraRollPermission = await Permissions.askAsync(Permissions.CAMERA_ROLL);

cameraRollPermission.status returns ‘denied’ when the user denies the permission, but is there any way I can detect if the user also pressed ‘Never ask me again’ while denying the permission? My app won’t work without this permission and I would like to redirect user to the app settings screen so that they can grant this permission manually.

I am using expo v31.

Hey @pratik.kayastha,

There isn’t a way to know this with the current implementation of the Permissions module.

Cheers,
Adam

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