Closed Digipom closed 8 months ago
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
Bump to remove stale status
We aren't making changes to the API right now, but I will keep this open for if we do consider making changes in the future because it is a good point
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
Bumping to remove stale status
@bentrengrove the bot closed the issue. Is the team still not considering this or could the API be extended in the future? Thank you.
Description
Please pass in PermissionStatus to onPermissionResult instead of a boolean.
Steps to reproduce
Observe onPermissionResults signature.
Expected behavior
Receiving a PermissionStatus allows us to check the rationale.
Additional context
When the user says "Don't ask again", onPermissionResult is called with granted = false, and shouldShowRationale will also return false.
Example code: