getContactByIdAsync usage

Moved here from this Github issue: https://github.com/expo/expo/issues/1564

The Contacts API should be working, both to get all contacts and also to fetch one by its unique ID. Here is a snack which you can use to test it:

Pressing the button in this demo will pull all of your contacts and then store the “id” value of the first contact the API fetches. It then uses the id of that contact as the input to the getContactByIdAsync method, and it logs the result to the console.

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