Let will only execute the annotated method the second time it's called
2hamed opened this issue · comments
Hamed Momeni commented
I'm having this problem with that the annotated method is only executed the second time it's called.
What I mean is that upon the first call to the annotated method the permission dialog is shown correctly but after tapping on Allow
the actual method is not executed. I have to rerun the activity for it to actually run.
Hamed Momeni commented
OK, my bad. I was forgetting to put the following piece.
@Override
public void onRequestPermissionsResult(int requestCode,
@NonNull String[] permissions,
@NonNull int[] grantResults) {
Let.handle(this, requestCode, permissions, grantResults);
}