I have two different areas in my application that need two quite different sets of permissions. According to the best practices, I should only ask for the ones that I need, in each area.
I'm familiar with the fact that Android will not display its Permission Request Dialog after the user refuses a permissions request a second time.
I'm probably missing something... but if the user refuses one set of permissions twice, I cannot get Android to display the Permissions Request Dialog for the other, completely different set of permissions.
FWIW, I'm using JetPack Compose so perhaps this is something to do with rememberMultiplePermissionsState
?
I have two different areas in my application that need two quite different sets of permissions. According to the best practices, I should only ask for the ones that I need, in each area.
I'm familiar with the fact that Android will not display its Permission Request Dialog after the user refuses a permissions request a second time.
I'm probably missing something... but if the user refuses one set of permissions twice, I cannot get Android to display the Permissions Request Dialog for the other, completely different set of permissions.
FWIW, I'm using JetPack Compose so perhaps this is something to do with rememberMultiplePermissionsState
?
1 Answer
Reset to default 0FWIW, in case anyone comes across this:
As is often the case, the problem turned out to be the statement of the question. This had nothing at all to do with asking for permissions twice.
Among the permissions that my app requested in its second request was this one, defined in the manifest as:
<uses-permission
android:name="android.permission.ACCESS_COARSE_LOCATION"
android:maxSdkVersion="32"
/>
... and, of course, on a post 32 device no amount of requesting will grant the permission