instacart / instacart/truetime-android

TrueTime returns wrong date time in some Android devices

Open
#164 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Kotlin
Stars
1.5k
Forks
196
PR merge metrics
No merged PRs in 30d

Description

TrueTime returns wrong date time in multiple Android devices at sometimes

Ex: Samsung SM-S711U - Android 15.
In this device I got correct date yesterday. But today I got 38 days old date. I didn't get any exception in init.

I have called initialise method in Application class and another class

I have initialised like this,
TrueTime.build()
.withNtpHost(ntpHost)
.withConnectionTimeout(CONNECTION_TIMEOUT_MS)
.withLoggingEnabled(true)
.withSharedPreferencesCache(context.getApplicationContext())
.initialize();

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.