Uses native contact picker apis to select and update contacts from react native based applications.
// Disclaimer : This package is underdevelopment how ever following features are currently accessible
npm install rn-contacts
Make sure to add following permissions in [AndroidManifest.xml]
<uses-permission android:name="android.permission.READ_CONTACTS"/>
<uses-permission android:name="android.permission.WRITE_CONTACTS" />
<uses-permission android:name="android.permission.READ_PROFILE" />
This library is supported in both Android & IOS.
import { requestPermission, openContacts } from 'rn-contacts';
// ...
const permission = await requestPermission(); // Expected return : 'authorized' | 'denied' | 'undefined'
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT
Made with create-react-native-library