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

feat(android): Add handlePermissions function for plugins to call #3768

Merged
merged 2 commits into from
Nov 5, 2020

Conversation

jcesarmobile
Copy link
Member

At the moment onRequestPermissionsResult handles the prompt/prompt-with-rationale/denied logic, but since most plugins will overwrite it, that functionality get lost and checkPermissions always returns prompt because of that.

By adding a new handlePermissions function in Plugin class that handles that logic, users can call it on their onRequestPermissionsResult override.

@imhoffd imhoffd merged commit 3a7e282 into main Nov 5, 2020
@imhoffd imhoffd deleted the perm-improv branch November 5, 2020 18:28
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

Successfully merging this pull request may close these issues.

3 participants