Releases: instacart/truetime-android
Releases · instacart/truetime-android
3.5
Bug fixes
- #136 - fix vulnerability around exported broadcast receiver (unblocking sdk 31 support) 🙏 @anjalsaneen
3.4
- Improved caching (Provide custom caching implementation) 🙏 @TonyTangAndroid
- new Wiki with better instructions and information around using the library
- use
Single
instead ofFlowable
for init call apis - update example to demonstrate usage better
- remove "support-annotations" dependency
3.3
3.2
2.2
2.1
Fixes:
- coerce signed 16.16 int -> double value and compare in milliseconds
2.0
Features:
- Full NTP implementation #24 (this was a significant change and warranted the change of the apis)
- Disk persistence! cache TrueTime info to disk, so we avoid network requests calls (even across app kills). This requires the boot permission as TrueTime is invalid across device boots #15
- Add flag for logging #16
Fixes:
- More stringent checks with custom InvalidNtpServerResponseException thrown with reason for failure
- the maxConcurrent option was incorrectly being used on flatMap. While limiting the number of parallel SNTP calls made, it was also basically ignoring rest of the provided NTP hosts.
1.5
- expose retry count
- (Rx) fix:
first
->take(1)
1.3
- clean Singleton implementation
- add
TrueTime.isInitialized()