Skip to content

Latest commit

 

History

History
11 lines (9 loc) · 268 Bytes

sync.md

File metadata and controls

11 lines (9 loc) · 268 Bytes

*Push all changes since last push: currentTimeInMillis lastModifiedInMillis

*Server timeDifference = (serverTime - localTime) fixedNoteServerTime = localNoteTime + timeDifference sync changes

*Server update answer fixedNoteLocalTime = serverNoteTime - timeDifference