INNER CODE UNIT · TypeScript
writePhotoToPath
morenoh149/react-native-contacts · index.ts:83
async function writePhotoToPath(
contactId: string,
file: string
): Promise<boolean> {
return Contacts.writePhotoToPath(contactId, file);
}
async function getGroups(): Promise<Group[]> {
return Contacts.getGroups();
}
async function getGroup(identifier: string): Promise<Group | null> {
return Contacts.getGroup(identifier);
}
async function deleteGroup(identifier: string): Promise<boolean> {
return Contacts.deleteGroup(identifier);
}
async function updateGroup(identifier: string, groupData: Pick<Group, 'name'>): Promise<Group> {
return Contacts.updateGroup(identifier, groupData);