firescript / nativescript-contacts

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

Save new contact error: No Accounts! #15

Closed MrDigii closed 5 years ago

MrDigii commented 8 years ago

Hi, I working on a nativescript app for android and iOS. I want implement a feature to add contacts to the device. Therefore I tested this plugin. I used exactly the code from npm plugin website for Save a new contact to do this. But on emulator and also on android device it stops with this error message:

Error: No Accounts! .../app/tns_modules/nativescript-contacts/contact-model.js, line: 200, column: 12

MrDigii commented 8 years ago

I think it is solved. I try to use the app on a android phone with SIM Card inside and it worked. On Iphone the plugin added contact also without SIM. But I would be very pleased to get a success or error response if a contact is saved. Is this possible?

rajasekarsp commented 7 years ago

This issue is poping up for me. Any Fixes?

jzgoda commented 5 years ago

I'm closing this because it's been about 2 years without activity.

If it continues to throw an error, please include a reproducible example of the error.