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

Feature request: Additional contacts information #8

Open
ReveredMachine opened this issue Mar 1, 2021 · 2 comments
Open

Feature request: Additional contacts information #8

ReveredMachine opened this issue Mar 1, 2021 · 2 comments

Comments

@ReveredMachine
Copy link

It would be nice to get the additional contacts information

  1. rawContactId
  2. deletion timestamp
  3. last modified timestamp
  4. source ID for the contacts I am the owner of (belonging to my account)

Android

  • deletion timestamps maybe with ContactsContract.DeletedContacts.CONTENT_URI, but therefore the minSdkVersion has to be upgraded to 18
  • last modification timestamp from the Contact
  • rawContactId, and source ID from the RawContact

IOS
In the IOS documentation I did not found a hint in order how to do such thing.

@joachimvalente
Copy link
Contributor

It would be nice to get the additional contacts information

  1. rawContactId

That's already there, if you call getContact() or getContacts(withProperties: true). You can find raw IDs in contact.accounts[i].rawId.

  1. deletion timestamp
  2. last modified timestamp

Interesting, I didn't know about those fields. To be honest I probably won't get to it anytime soon as it's very Android-specific. But feel free to open a pull request if you got it working :)

  1. source ID for the contacts I am the owner of (belonging to my account)

What's a source ID? Is it different from account type and account name?

@ReveredMachine
Copy link
Author

@joachimvalente
With the source ID (available at the androids raw contact) you can map a contact on the mobile device with a contact on the server side.

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

3 participants