Pulls all emails, phone numbers (with their labels) - iOS and Android#27
Pulls all emails, phone numbers (with their labels) - iOS and Android#27zibs wants to merge 2 commits intoLynxITDigital:masterfrom
Conversation
…nes for a contact with their respective labels
|
Any chance you can accept this pull request? We really need this feature too. |
|
@mohamadswaidan I forked and merged this here: https://github.com/corysimmons/react-native-contacts-wrapper
|
|
@corysimmons - you haven't merged the android changes. Your repository only contians the iOS changes. @zibs - is there a reason why you've chosen different return types for iOS and Android? on android one gets emails: [{address_type: ..., address: ...}] that's confusing as one needs different code for ios and android. |
|
@compojoom sorry, i thought i merged everything here but maybe i didn't? i was only dev'ing on iOS and have since become completely disinterested in React Native. |
|
Android payload giving duplicate number with this changes. { "name": "niph", |
This may or not be an intended feature of this library, so I'm just throwing this PR up in case anyone is interested in it. This will fetch all the phone numbers and email addresses with their labels for both iOS and Android (instead of just the first one for the current library).