react-native-contacts returns undefined
问题 I'm tryna get the contacts list of the device but react-native-contacts returns undefined. I've Installed the package and linked it as mentioned in the project's GitHub page https://github.com/rt2zz/react-native-contacts I've also added the permissions to the android-manifest file. How do I get it works 回答1: This happens mostly because of the linking-step was missing as there are native modules required: After npm install react-native-contacts (or yarn add ) you are required to link the stuff