I am trying to do a search on the contacts of the phone (iOS). I am using :
ionic cordova plugin add cordova-plugin-contacts
but when I try to do a contacts.find, the application crashs. I have added ‘edit-config’ to authorize the application to access contacts in config.xml file :
<edit-config file="*-Info.plist" mode="merge" target="NSContactsUsageDescription"> <string>Need access to contacts</string> </edit-config>
But the application still crash. What do I do wrong ?
Thx for your help.