morenoh149 / react-native-contacts

React Native Contacts
MIT License
1.64k stars 560 forks source link

getContactsMatchingString search also in addresses #729

Closed dprevost-LMI closed 5 months ago

dprevost-LMI commented 8 months ago

In the doc, we can see:

getContactsMatchingString(string): Promise<Contact[]> - where string is any string to match a name (first, middle, family) to

This is misleading since the getContactsMatchingString also searches inside postalAddresses. I did a quick test, and by entering the stress name, I had results that did not fit the name.

Would you mind adjusting the doc so we know explicitly which fields are used for the search for getContactsMatchingString?

morenoh149 commented 8 months ago

@dprevost-LMI feel free to fix the doc and submit a PR.

github-actions[bot] commented 6 months ago

This issue is stale, please provide more information about the status

dprevost-LMI commented 6 months ago

Will do soon