firescript / nativescript-contacts

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

No Data Returned #29

Closed Ericky14 closed 7 years ago

Ericky14 commented 7 years ago

Hello,

I am using the plugin this way contacts.getAllContacts(['name', 'organization', 'phoneNumbers', 'emailAddresses', 'postalAddresses']).then((contacts) => { alert(JSON.stringify(contacts)); });

It works fine when I am testing on the emulator and on my phone LG Stylus built in release mode.

However, for someone else that has a samsung galaxy s7 active, all that is displayed is {"nativeException":{}}

Does anyone have an idea what kind of problem this is? I haven't tested on other phones yet. Also, the galaxy s7 has 180+ contacts.

Ericky14 commented 7 years ago

I created a pull request here for this.

firescript commented 7 years ago

Merged the PR

On Mon, Jul 24, 2017 at 4:56 PM Ericky14 notifications@github.com wrote:

I created a pull request here https://github.com/firescript/nativescript-contacts/pull/34 for this.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/firescript/nativescript-contacts/issues/29#issuecomment-317552041, or mute the thread https://github.com/notifications/unsubscribe-auth/ABtQGsLN-cuYMlgv7Tc26Qiqk3X1kAPCks5sRQTjgaJpZM4OWC1j .

--

Ryan Lebel WEBSITE DEVELOPER / DESIGNER

905 929 3160 ryan@firescript.ca www.firescript.ca

DurgaPrasannaDM commented 5 years ago

Getting the same issue.Not working for me even in the emulator also.please help anyone in resolving this.

jzgoda commented 5 years ago

@DurgaPrasannaDM, are you sure what you are experiencing is related to this issue?

First, have you ensured that the permissions are properly set up. Which will require the nativescript-permissions plugin.

If you believe everything is properly configured, you'll need to provide much more detail. In particular, the code in question, and any error logs. All of this should be part of a new issue, not added to an issue that was resolved.