You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ANDROID][addContact]: Attempt to invoke interface method 'boolean com.facebook.react.bridge.ReadableMap.hasKey(java.lang.String)' on a null object reference [Android]
#548
Closed
Coucy opened this issue
Aug 6, 2020
· 0 comments
· Fixed by #557
PermissionsAndroid.request(
PermissionsAndroid.PERMISSIONS.WRITE_CONTACTS,
PermissionsAndroid.PERMISSIONS.READ_CONTACTS,
{
'title': 'Contacts',
'message': 'This app would like to view your contacts.',
'buttonPositive': 'Please accept bare mortal'
}
).then(() => {
Contacts.addContact(null, error => {
console.log('error', error)
})
})
Expected behavior: ability to process an error in callback
The text was updated successfully, but these errors were encountered:
Coucy
changed the title
Attempt to invoke interface method 'boolean com.facebook.react.bridge.ReadableMap.hasKey(java.lang.String)' on a null object reference [Android]
[ANDROID][addContact]: Attempt to invoke interface method 'boolean com.facebook.react.bridge.ReadableMap.hasKey(java.lang.String)' on a null object reference [Android]
Aug 6, 2020
Expected behavior: ability to process an error in callback
The text was updated successfully, but these errors were encountered: