Contacts.getContactsAsync() ignore my contactQuery critera (email)

This code is returning all contacts, including those without an email address.

      const payload = await Contacts.getContactsAsync({
        fields: [Contacts.Fields.Emails],
        pageSize,
        pageOffset,
      });

I was expecting it to filter out contacts without an email. Obviously, I can do that on my side but it seems inefficient. Any ideas? Am I misunderstanding the documentation?

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.