joshuapinter / react-native-unified-contacts

Your best friend when working with the latest and greatest Contacts Framework in iOS 9+ in React Native.
MIT License
158 stars 56 forks source link

[iOS] Merged (linked) contacts showing as individual #65

Open paintedbicycle opened 6 years ago

paintedbicycle commented 6 years ago

On iOS if a user has merged several contacts using apples built-in method for linking contacts, they show up twice.

If a user looks at their own contacts inside the contacts app on iOS the contacts only appear once. However in the list of returned contacts in my app, those contacts appear more than one.

So contacts app and my app (using this library) don’t match.

joshuapinter commented 6 years ago

Interesting. Are they recently merged (maybe a caching issue)?

Maybe Apple keeps them separate in case the user wants to "undo" a merge. I wonder if there is a flag on the merged records that says they should be ignored?

paintedbicycle commented 6 years ago

I reached out to the user submitting the bug to me - I don't think caching was an issue, they said it was at least several weeks since they merged them if not more.

I hope Apple allows you to only return the primary contacts, yes! I couldn't imagine this is normal.