Thanks to visit codestin.com
Credit goes to github.com

Skip to content

onGrant method not working #19

@chakricb

Description

@chakricb

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions