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

Allow merging and updating of array fields like email and postal addresses #63

Open paintedbicycle opened 6 years ago

paintedbicycle commented 6 years ago

Currently, a developer must resupply all email, postal and phone fields back to the library when updating them.

So, if a dev wants to update or add an email address, they must resupply all.

This might be ok, but I'm interested in the potential issues. Are there any? What if the order of the addresses change when sent back to the developer? If a developer was using postalAddresses[0] and then saves, but iOS/Android send back the addresses in a different order, could that be an issue?