Skip to content
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

onGrant method not working #19

Open
chakricb opened this issue Nov 7, 2017 · 2 comments
Open

onGrant method not working #19

chakricb opened this issue Nov 7, 2017 · 2 comments

Comments

@chakricb
Copy link

chakricb commented Nov 7, 2017

I am trying to implement following code in my app -

PermissionsManager.getInstance().requestAllManifestPermissionsIfNecessary(this,
new PermissionsResultAction() {
@OverRide
public void onGranted() {
// Proceed with initialization
proceed();
}

@Override
public void onDenied(String permission) {
  // Notify the user that you need all of the permissions
}

});

But what is happening is proceed() method is not calling after granting all the permissions. onGrant method itself not getting called when I tried to debug the app. Please help to resolve my issue.

@fundroid
Copy link

any update in this?

@arthabus
Copy link

arthabus commented Mar 28, 2018

in my case onGrant() was called occasionally and onDenied was never called. Moved to Dexter lib - everything works as expected now

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

No branches or pull requests

3 participants