# instacart/truetime-android

Android NTP time library. Get the true current time impervious to device clock time changes

Repository: https://github.com/instacart/truetime-android
Canonical: https://ross.abutalabs.com/products/truetime-android
Homepage: https://tech.instacart.com/truetime/
Language: Kotlin
License: Apache-2.0
License Family: permissive
Topics: ntp, android, clock, ntp-server, rxjava, time, truetime, sntp, mobile
Last push: 2023-06-12T05:55:17+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3707, "days_push": 1178, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1471, forks 196 (observed 2026-08-28T04:04:49.253569+00:00)

## What it is
TrueTime is an (S)NTP client library for Android that provides the true current time, immune to manual device clock changes. It is written in Kotlin with Coroutines and distributed via JitPack.

## Use cases
- get the real current time on android even if the user changed the device clock
- sync app time with an ntp server on android
- prevent users from cheating time-based features by changing their clock
- get a reliable timestamp for offline-first apps
- kotlin coroutine ntp time client for android

## When to choose
- your android app needs a trustworthy 'now' that survives manual clock changes
- you want a lightweight Kotlin/Coroutines SNTP client without RxJava dependencies
- time accuracy matters for scheduling, expirations, or anti-cheat logic

## When to avoid
- you need a full-featured NTP implementation with all bells and whistles (v4 is still a work in progress)
- your app is not on Android
- server-side or non-mobile time sync is what you need

## Facets
- artifact type: library
- maturity: maintenance
- function: sdk, networking
- domain: mobile-development, android-tools, developer-tools
- platform: jvm
- tags: ntp, sntp, clock-sync, time, coroutines, android

## Member repositories
- instacart/truetime-android (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:49.253569+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:34:46.439460+00:00, confidence not recorded.
  - readme: https://github.com/instacart/truetime-android (fetched 2026-08-28T04:04:49.253569+00:00, sha c85c21e9e6b9)
- Data as of 2026-08-30T08:39:29.467469+00:00.
