INNER CODE UNIT · TypeScript
addContactsToGroup
morenoh149/react-native-contacts · index.ts:108
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,
viewExistingContact,
editExistingContact,
updateContact,