I'm developing an application that will work offline on android
and synchronize with a web
version. I have API
that will intermediate this synchronization.
Currently the android
version has a timestamp
to control the changes in the registry, and the idea was to synchronize with API
to check the records with update date greater than the date of the last synchronization
But the question is how to control changes in the android
clock because the user may have the correct time or date. This could happen if the device's time is shorter than the last synchronization so that it does not send the changed data.