You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 2, 2021. It is now read-only.
Where are you asking for permissions? If it's on the onResume method I'd say your problem is there, keep in mind that when the permission has been denied, we need to launch an invisible activity to ask the system for the real state of the permission status so it might re-trigger the onResume method of your activity.
If you send us more context on how are you using Dexter we can better help you find the issue here.
Thanks for reporting.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Expected behaviour
onPermissionDenied(PermissionDeniedResponse response) must called one time
Actual behaviour
onPermissionDenied(PermissionDeniedResponse response) called twice
Steps to reproduce
Dexter.withActivity(this)
.withPermission(Manifest.permission.ACCESS_FINE_LOCATION)
.withListener(this)
.withErrorListener(this)
.check();
on start first activity after install app - decline access
restart application (full stop and start again). Next time decline again with set flag no ask again
Version of the library
4.0.0 / 4.1.1
The text was updated successfully, but these errors were encountered: