firescript / nativescript-contacts

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

fix (iOS): changes key `notes` to `note` #60

Closed jzgoda closed 5 years ago

jzgoda commented 5 years ago

In iOS, the key to retrieve is note, not notes.

I made it so users can still supply notes in the contactFields (that way the same list of contactFields will work for both iOS and Android), and the getiOSValue method will change the key to the proper value.

Fixes & closes #21

jzgoda commented 5 years ago

@firescript, when you have a chance, see if you agree with my changes to resolve this issue.