Managing local data on Android often feels fragmented, forcing developers to choose between legacy blocking APIs like SharedPreferences and modern, boilerplate-heavy solutions like Jetpack DataStore. CushyStorage was engineered to solve this "API friction" by providing a unified facade for all persistence needs.
The library features a modular architecture with three specialized engines:
- Standard Layer: Optimized for fast, synchronous access to non-sensitive settings.
- Reactive Layer: A Flow-based DataStore integration designed for modern Jetpack Compose UIs.
- Secure Layer: Industrial-grade AES-256 GCM encryption backed by the Android KeyStore (TEE/SE), providing a stable replacement for deprecated security wrappers.
Beyond pure functionality, CushyStorage was built with Developer Experience (DX) in mind, featuring built-in IDE Preview safety and a robust testing suite verified on physical hardware. It is currently published on Maven Central and integrated into live production environments.
Tech stack: Kotlin, Compose, Jetpack DataStore, Kotlin Coroutines & Flow, Security: Android KeyStore, AES-GCM (256-bit), Build Tools: Gradle (Kotlin DSL), Dokka, Maven Publish, Testing: JUnit 4, Mockito-Kotlin, AndroidX Test (runTest), Distribution: Maven Central, JitPack











