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
Hi, i hope you could help me...
Here is my code (basically the same as in readme)
`askPermission(this)
.ask(new PermissionListener() {
@Override
public void onAccepted(RuntimePermission runtimePermission, List<String> accepted) {
//all permissions already granted or just grantedyour action
runOnUiThread(new Runnable() {
@Override
public void run() {
Log.d("PERMISSIONS", "accepted");
}
});
}
@Override
public void onDenied(RuntimePermission runtimePermission, List<String> denied, List<String> foreverDenied) {
//the list of denied permissions
for (String permission : denied) {
Log.d("PERMISSIONS", permission + " denied");
}
//permission denied, but you can ask again, eg:
//the list of forever denied permissions, user has check 'never ask again'
for (String permission : foreverDenied) {
Log.d("PERMISSIONS", permission + " forever denied");
}
// you need to open setting manually if you really need it
//runtimePermission.goToSettings();
}
});`
The permission is asked but there is no log "accepted" or "denied" (when I try to call a pop up dialog it is not displayed) . Why that?
The text was updated successfully, but these errors were encountered:
Hi, i hope you could help me...
Here is my code (basically the same as in readme)
The permission is asked but there is no log "accepted" or "denied" (when I try to call a pop up dialog it is not displayed) . Why that?
The text was updated successfully, but these errors were encountered: