Skip to content

TrueTime returns wrong date time in some Android devices #164

Description

@iamlagarsamy

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();

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions