@nadavhalfon/capacitor-native-multi-contacts
v1.1.2
Published
Capacitor plugin for picking multiple contacts from native contacts list - works on ios only
Readme
capacitor-native-contacts
Capacitor plugin for picking multiple contacts from native contacts list - work on ios only, android does not support it and features picking one contact only
Install
npm install @nadavhalfon/capacitor-native-multi-contacts
npx cap syncAPI
getPermissions()
getPermissions() => Promise<PermissionStatus>Returns: Promise<PermissionStatus>
getContacts()
getContacts() => Promise<{ contacts: Contact[] | null; }>Returns: Promise<{ contacts: Contact[] | null; }>
Interfaces
PermissionStatus
| Prop | Type |
| ------------- | -------------------- |
| granted | boolean |
Contact
| Prop | Type |
| ---------------------- | --------------------------- |
| contactId | string |
| displayName | string |
| givenName | string |
| familyName | string |
| phoneNumbers | PhoneNumber[] |
| emails | EmailAddress[] |
| photoThumbnail | string |
| organizationName | string |
| organizationRole | string |
| birthday | string |
PhoneNumber
| Prop | Type |
| ------------ | ------------------- |
| label | string |
| number | string |
EmailAddress
| Prop | Type |
| ------------- | ------------------- |
| label | string |
| address | string |
