morenoh149 / react-native-contacts

React Native Contacts
MIT License
1.65k stars 564 forks source link

Let `openContactForm` result be `Promise<Contact | null>` #740

Closed R3DST0RM closed 5 months ago

R3DST0RM commented 5 months ago

Once the dialog is opened using openContactForm a user can save a contact or dismiss the dialog. When a user dismisses the dialog, the promise value will be null.

This change aims to align the API typing with the actual behavior

morenoh149 commented 5 months ago

looks good thanks! it will go out in the next release!