INNER CODE UNIT · TypeScript

getContactsMatchingString

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

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

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

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

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

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…