react-native-contacts icon indicating copy to clipboard operation
react-native-contacts copied to clipboard

getContactsMatchingString search also in addresses

Open dprevost-LMI opened this issue 1 year ago • 1 comments

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?

dprevost-LMI avatar Jan 11 '24 18:01 dprevost-LMI

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

morenoh149 avatar Jan 24 '24 19:01 morenoh149

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

github-actions[bot] avatar Mar 25 '24 00:03 github-actions[bot]

Will do soon

dprevost-LMI avatar Mar 25 '24 11:03 dprevost-LMI