CASE FILE 03PlatformLIVE
YLead · YDesk Phone
Android business phone for YDesk
PRIVATE SOURCE
A live business phone for YDesk managers whose calls, approved SMS and latest location reach YDesk Communications reliably, even after time offline.
At a glance
- Role
- Android and systems engineer
- Status
- Live in production
- Stack
- Kotlin · Jetpack Compose · Android Telecom · Room · WorkManager
- Links
- ydesk.org ↗
Overview
YLead keeps a manager's business calls visible in YDesk without turning the phone into a black box. Nothing is collected before enrollment and consent, every consent change is versioned, pause stops collection, and reading message text or location in YDesk is audited.
Problem and constraints
Phone data is sensitive: collection needs explicit, revocable consent, data stays encrypted on the device and the server, and every read of text or location is audited.
What was built
Built the Android client, its encrypted offline storage and sync, the device API contract with YDesk, signed releases and the emulator acceptance suite.
- Kotlin and Jetpack Compose app (minimum API 29, target API 37) with dial, recents and contacts tabs on Android Telecom.
- Numbers and event payloads stay encrypted in Room with an Android Keystore AES-GCM key; backup and device transfer are disabled.
- WorkManager queues reports offline and uploads them with a network constraint and backoff; check-in delivers on-demand sync requests.
- Signed in-place updates: the app checks a private manifest and verifies SHA-256, version, package and signer before Android's installer opens.
- An emulator acceptance harness in Python drives the app against a disposable HTTPS tenant with PostgreSQL.
Architecture
Business phone
- Android Telecom calls
- Room + Keystore AES-GCM
- WorkManager offline queue
- HTTPS check-in
YDesk device API
- Pairing and consent revisions
- Sharing: SMS, location
- Signed update manifest
- encrypted at rest
YDesk Communications
- Call and SMS timeline
- Latest location
- Audited reads
Stack
- Kotlin
- Jetpack Compose
- Android Telecom
- Room
- WorkManager
- Android Keystore
- Python
- PostgreSQL
