Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No Data Returned #29

Closed
Ericky14 opened this issue Jul 12, 2017 · 4 comments
Closed

No Data Returned #29

Ericky14 opened this issue Jul 12, 2017 · 4 comments

Comments

@Ericky14
Copy link
Contributor

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
Copy link
Contributor Author

I created a pull request here for this.

@firescript
Copy link
Owner

firescript commented Jul 25, 2017 via email

@DurgaPrasannaDM
Copy link

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

@jzgoda
Copy link
Collaborator

jzgoda commented May 22, 2019

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants