@aalzehla/capacitor-contacts
v0.0.5
Published
This capacitor plugin allows you to use the native contact picker UI on Android or iOS for single contact selection. Both platforms will return the same payload structure, where the data exists.
Downloads
23
Readme
capacitor-contacts
This capacitor plugin allows you to use the native contact picker UI on Android or iOS for single contact selection. Both platforms will return the same payload structure, where the data exists.
Install
npm install @aalzehla/capacitor-contacts
npx cap syncAPI
open()
open() => Promise<Contact[]>Returns: Promise<Contact[]>
close()
close() => Promise<void>Interfaces
Contact
| Prop | Type |
| ----------------------------- | ------------------- |
| identifier | string |
| androidContactLookupKey | string |
| contactId | string |
| givenName | string |
| familyName | string |
| nickname | string |
| fullName | string |
| jobTitle | string |
| departmentName | string |
| organizationName | string |
| note | string |
| phoneNumbers | any[] |
| emailAddresses | any[] |
| postalAddresses | any[] |
