instacart / instacart/truetime-android

provide an example of a background service which repeatedly calls TrueTime.init in the background

Open
#91 4 comments 0 reactions 0 assignees View on GitHub
feature pr-welcome
Dominant language
Kotlin
Stars
1.5k
Forks
196
PR merge metrics
No merged PRs in 30d

Description

A point that was raised in both https://github.com/instacart/truetime-android/issues/90 and https://github.com/instacart/truetime-android/issues/84.

It is necessary to repeatedly call the init api after regular intervals. This needs to be done because of the natural drift that comes up with clocks (google oscillator crystals and clock drift for more context).

- [x] make this more explicit in the README
- [ ] provide example code or better apis for doing this

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.