QuisApp / flutter_contacts

MIT License
84 stars 140 forks source link

How to get UpdatedAt timestamp for a contact? #118

Closed agent515 closed 3 months ago

agent515 commented 1 year ago

Hello. I'm trying to sync contacts with local storage and remote database. And I'm thinking updatedAt field would be the best to determine if there are any latest changes that should be synced. But I could not find such field in the Contact.

On Android, I found ContactsContract.Contacts.CONTACT_LAST_UPDATED_TIMESTAMP to do something similar. But there are also some issues with this field highlighted here.

joachim-quis commented 3 months ago

@agent515 This field is part of the API, but as far as I know it's usually empty, so this is unfortunately not available. (This is why I created the app Quis 🙂)