Replies: 2 comments 1 reply
-
Hey! It seems like you are implementing a sync adapter. The CONTACT_LAST_UPDATED_TIMESTAMP is for Contacts, which may consist of several RawContacts from different Accounts. This is probably not what you want. I believe what you need here is DIRTY |
Beta Was this translation helpful? Give feedback.
-
@lati111, I created these issues for you;
They will be part of the next release v0.3.3, which I'm aiming to release some time this September. I currently have no time to work on this until then. In the meantime, I think you can still use this library but you'll have to write your own custom function that uses |
Beta Was this translation helpful? Give feedback.
-
I'm wanting to move local changes to a contact on a user's device to the remote database during syncing. Unfortunately as for what I can see in the documentation there does not seem to be any indicator of whether the user has edited the synced contact.
Android does have built in support for this within their contacts, using the CONTACT_LAST_UPDATED_TIMESTAMP constant, or the DIRTY flag on a rawContact.
If it all possible, I'd like it if one of these two options would be made available to allow me to determine if the item was updated on the remote database, or locally in order to set the sync direction.
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions