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

Cant Find Variable contactData #66

Closed rajanrai93 closed 6 years ago

rajanrai93 commented 6 years ago

Hey Joshua. every time i run the function to add a contact it throws an error at me saying it can't find the variable "contactData". Am I placing the variable in the wrong location? Thank you Rajan

screen shot 2018-04-24 at 3 09 28 am
joshuapinter commented 6 years ago

Try placing your let contactData declaration inside of your _addContact() function.

This is not an Issue with the library, though, so I am going to close this. You can find help for basic Javascript questions like this on StackOverflow very easily.