-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Permission status is notAgain even on first lauch #19
Comments
When the user chooses not again, you should prompt the user Permission.openSettings. |
It even not showing permission dialog for user to press not again or allow or deny, just on first launch logger prints that permission already went into not again state. |
please @once10301 fix this, im having the same issue... for me it ONLY happen in RELEASE mode |
BTW @once10301 in my case I can easily detect notAgain and then open app settings... HOWEVER... in my app settings the permission I requested does not show up as an option for the user to turn on... eventhough I have the permission in all of my adroidmanifest.xml files... both in the debug and the release version... Help would be very much appreciated since this has stopped my progression for days and frankly i can't find any way out except simply writing the plugin myself |
@harshapulikollu On first lauch you should requestPermissions and then handle the latter things based on the returned results. |
Yeah , I know that. But my question is how come permission status is NotAgain or NoAgain even when user haven't denied requested permissions? |
if you do not have requests, ContextCompat.checkSelfPermission(registrar.activity(), permission) == PackageManager.PERMISSION_DENIED && ActivityCompat.shouldShowRequestPermissionRationale(activity, permission) == false, this is the same as NotAgain |
@once10301 thanks for the explanation Although it would be nice to get this in the documentation |
Had the same issue. Some docs with this would be greatly appreciated. |
Have the same issue @once10301, permission status is |
I'm testing the permissions on new device but also my permission status went into
notAgain
. It should beallow
such that I can ask permissions from user. How to cope up with that.! What's the reason that cause permission status to benotAgain
The text was updated successfully, but these errors were encountered: