React-native-contacts: Return the contact after addContact

Created on 11 Nov 2016  路  5Comments  路  Source: morenoh149/react-native-contacts

I think it would be better if we return the newly added contact while using addContact!!

Thanks.

no-issue-activity

Most helpful comment

Agreed, the api could be changed to

Contacts.addContact(newPerson, (err, createdPerson) => { /*...*/ })

All 5 comments

Agreed, the api could be changed to

Contacts.addContact(newPerson, (err, createdPerson) => { /*...*/ })

Works for IOS but it doesn't work with android.

Ah yes, I don't thinks that's a documented feature - (which needs adding to android)

Thanks for building such a nice library works well but It'll be very helpful if you can return the recordId after addContact because some times we need to save it to further update the record.

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

gulshanzealous picture gulshanzealous  路  3Comments

sgithuku picture sgithuku  路  7Comments

prathd picture prathd  路  5Comments

rafaumlemos picture rafaumlemos  路  4Comments

farrukhhashmi65 picture farrukhhashmi65  路  7Comments