A native Android client for Hotline-ng, the mobile-first protocol beside classic Hotline. Presence that survives a dropped connection, notifications while the app is closed, and an identity that lives on the phone.
The UI is Kotlin and Jetpack Compose. Everything of the wire and of identity
is Rust, in crates/, exported to the app with
uniffi: the app never parses a frame,
a CBOR object or a signature. Identity objects come from
hx-libs' hl-identity, shared with the
server and other clients.
Two flavors: fdroid, with nothing proprietary in it, and play.
Needs JDK 21, the Android SDK (ANDROID_HOME) with NDK 30 and the API 37.2
platform, cargo-ndk, and rustup (the
toolchain is pinned in rust-toolchain.toml).
make check # format check, lints, unit tests, both flavors' debug builds
make connected # instrumented tests on a device, or a headless emulator
make fmt # format Rust and KotlinGradle builds the Rust core itself (scripts/build-core.sh) for every ABI
and for the host, whose library the JVM tests load. The debug APKs land in
android/app/build/outputs/apk/.
GPL-2.0-or-later, as hx-libs is.