firescript / nativescript-contacts

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

[iOS 13+] The plugin shouldn't include "note" for iOS by default #89

Closed fpaaske closed 3 years ago

fpaaske commented 4 years ago

Now the methods getContactById and getContactsInGroup will always fail unless you add the key com.apple.developer.contacts.notes to the app.entitlements as described here

In addition you'll have to apply to Apple to request permission to use this entitlement.

I believe most apps needing access to contacts, won't need access to the contact notes by default. Please consider removing "note" from keysToFetch and let callers of the method provide the list instead.

firescript commented 4 years ago

Alright - can you submit a PR. Anyway, are you interested in becoming a collaborator? This repo needs help to stay maintained.

fpaaske commented 4 years ago

I'd love to help, but I don't know how to work with plugins and would need some good introductions to even get started.