morenoh149 / react-native-contacts

React Native Contacts
MIT License
1.64k stars 560 forks source link

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

Closed R3DST0RM closed 3 months ago

R3DST0RM commented 3 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 3 months ago

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