firescript / nativescript-contacts

A nativescript module that gives access to the native contact directory.
MIT License
28 stars 32 forks source link

Not Able to Pass the Retrieved Contact to My Own API Service #41

Closed san18793 closed 5 years ago

san18793 commented 6 years ago

I am able to get the contact from the phone using nativescript-contacts but I am unable to pass it to my API which is in a custom function from contacts.getContact().then(function (args) {} method.

I defined a PUBLIC VARIABLE (Object or String or Array) to which I am trying to store the contact but this is not working. It is showing an error

ERROR Error: Uncaught (in promise): TypeError: undefined is not an object (evaluating 'PUBLIC VARIABLE')

jzgoda commented 5 years ago

This doesn't sound like an issue with the plugin, and since this is over a year old without any activity, I'm closing it.