Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
ceydaceyhan opened this issue May 15, 2024 · 2 comments
Closed

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

ceydaceyhan opened this issue May 15, 2024 · 2 comments

Comments

@ceydaceyhan
Copy link

ceydaceyhan commented May 15, 2024

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 morenoh149 added the bug label May 21, 2024
@morenoh149
Copy link
Owner

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

Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants