morenoh149 / react-native-contacts

React Native Contacts
MIT License
1.65k stars 564 forks source link

Contact could not be saved when thumbnailPath is invalid on iOS #738

Closed ceydaceyhan closed 2 months ago

ceydaceyhan commented 6 months ago

I noticed add contact with addContact there is no error for save. But user couldn't created on phone contact on iOS. So my example like this:

var newPerson = {
  emailAddresses: ...,
  company: ...,
  givenName: ...,
  familyName: ...,
  jobTitle: ...,
  phoneNumbers: ...,
  hasThumbnail: ...,
  thumbnailPath:
    '/path/to/file/Caches/name.jpg',
}

const res = await Contacts.addContact(newPerson)

Res have valid recordID but I don't see the user in contact.

morenoh149 commented 6 months ago

res is a valid contact id but you dont see the contact? how did you read the contact after adding?

github-actions[bot] commented 3 months ago

This issue is stale, please provide more information about the status