Request access and read the user phonebook contacts.
Access user phonebook contacts for invite screens, recipient pickers, and social features. The OS will automatically prompt for contacts permission if not already granted.
import nativine from 'nativine';
const contacts = await nativine.contacts.getAll();
Returns an array of contact objects:
[
{ "name": "John Doe", "phone": "+1234567890" },
{ "name": "Jane Smith", "phone": "+0987654321" }
]