Open droid-lover opened 3 years ago
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.
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.
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