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

Please help me to show only those contacts that have registered for app from contact list and show invite button for rest of them. I have authenticated user using phone number. Please help me out with this . I have searched lot of for this but can’t get perfect solution. Please help me . #30

Open
ds-patel-33 opened this issue Aug 15, 2020 · 1 comment

Comments

@ds-patel-33
Copy link

No description provided.

@AjayrajSingh
Copy link

Though it isn't an issue with this repo, but still it's good you asked.
For what you are stating above you can use contact_services plugin, to fetch contacts list. check this Just wrap Iterable contacts = await ContactsService.getContacts(); in async method and call from initState(). In the tutorial Ronak shown how he managed to get list of Accounts to use in search query, there you just need to fetch only those contacts with same contact no. (Considering you have used Phone Authentication) and you are done.
Your search will only show you those contacts which are registered on your phone.

If still you find any problem, kindly ask and consider closing this issue.

@kazimad kazimad mentioned this issue Aug 16, 2020
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

2 participants