I have already tried to solve this problem using
react-native-contacts getAll return null, react-native-contacts returns undefined.