Skip to content
This repository has been archived by the owner on Jul 2, 2021. It is now read-only.

Android 11 dismissible permission dialogs #282

Open
droid-lover opened this issue Jun 21, 2021 · 2 comments
Open

Android 11 dismissible permission dialogs #282

droid-lover opened this issue Jun 21, 2021 · 2 comments

Comments

@droid-lover
Copy link

droid-lover commented Jun 21, 2021

In android 11 I noticed this flow- permissions popups are dismissible, and when the user dismisses any permission popup, we get a callback like user-selected ‘never ask again’

We need to add a check if at least anyone permission is denied earlier and RationaleShouldBeShown is false that means at least one permission is permanently denied, that time we need to show settings dialog.

I have implemented this new change w.r.to Android11 API30 for this here

@pedrovgs
Copy link
Contributor

pedrovgs commented Jul 1, 2021

Hey @myjarvis thanks for reporting! Could you please describe if you are facing a bug or requesting a feature? Reading your issue description and title I'm not sure what you mean.

@droid-lover
Copy link
Author

Hi, @pedrovgs Yes it's a bug in Android11 or API 30+.

Steps:
Request for permission the first time.
just click outside the permission request dialog.
You will see the settings screen alert without even denying or deny and not ask again option selected.

Resource - a video with the bug and a fix explained in the blog.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants