react-native-unified-contacts icon indicating copy to clipboard operation
react-native-unified-contacts copied to clipboard

Attempt to invoke interface method 'boolean android.database.Cursor.moveToFirst()' on a null object reference

Open the-nippy opened this issue 4 years ago • 0 comments

image

My android version is 9.0, API28. React Native version is 0.59.9.

happened when i called function getContacts() like this:

Contacts.getContacts( (error, contacts) =>  {
          if (error) {
            console.error(error);
          }
          else {
            console.log(contacts);
            // Alert.alert('A',contacts)
          }
        });

java file line 625: image

can anyone help me ? thans thanks thanks ...

the-nippy avatar Jul 08 '19 12:07 the-nippy