INNER CODE UNIT · TypeScript

getContactsByEmailAddress

morenoh149/react-native-contacts · index.ts:69

async function getContactsByEmailAddress(
  emailAddress: string
): Promise<Contact[]> {
  return Contacts.getContactsByEmailAddress(emailAddress);
}

async function checkPermission(): Promise<PermissionType> {
  return Contacts.checkPermission();
}

async function requestPermission(): Promise<PermissionType> {
  return Contacts.requestPermission();
}

async function writePhotoToPath(
  contactId: string,
  file: string
): Promise<boolean> {

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…