INNER CODE UNIT · TypeScript
contactsInGroup
morenoh149/react-native-contacts · index.ts:105
async function contactsInGroup(identifier: string): Promise<Contact[]> {
return Contacts.contactsInGroup(identifier);
}
async function addContactsToGroup(groupIdentifier: string, contactIdentifiers: string[]): Promise<boolean> {
return Contacts.addContactsToGroup(groupIdentifier, contactIdentifiers);
}
async function removeContactsFromGroup(groupIdentifier: string, contactIdentifiers: string[]): Promise<boolean> {
return Contacts.removeContactsFromGroup(groupIdentifier, contactIdentifiers);
}
export default {
getAll,
getAllWithoutPhotos,
getContactById,
getCount,
getPhotoForId,
addContact,
openContactForm,
openExistingContact,