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

Knowing which permissions was granted or denied in a list #20

Open
enlight3d opened this issue Nov 23, 2023 · 0 comments
Open

Knowing which permissions was granted or denied in a list #20

enlight3d opened this issue Nov 23, 2023 · 0 comments

Comments

@enlight3d
Copy link

I've implemented what you give for example, it works pretty fine, but I have a use case where I need to do different actions depending on which permission was granted.
Let's say I ask for CAMERA and RECORD_AUDIO, I'd like to be able to differentiate which one was granted to update two different booleans in the result when I call

permissionHandlerHostState.handlePermissions()

Is it possible to do that ?

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

No branches or pull requests

1 participant