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

Is it possible to test for permission before asking? #152

Open
NiallBunting opened this issue Mar 25, 2024 · 1 comment
Open

Is it possible to test for permission before asking? #152

NiallBunting opened this issue Mar 25, 2024 · 1 comment

Comments

@NiallBunting
Copy link

I'm trying to test if I can read the contacts before deciding to ask the user for the permission. This is because I want to process the contact list separately to showing the screen asking for permissions to access the contact list.

I'm wondering if there's any way to do FlutterContacts.hasPermission()?

I tried requesting contacts without doing a FlutterContacts.requestPermission() and it seems that it will prompt the user anyway.

@alexboulay
Copy link

Important for us too!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants