CushyStorage Library Demo: Experience Seamless Android Data Persistence
Unlock the full potential of Android local data storage with the official demo app for the CushyStorage library. Designed for developers by developers, this application is a live, interactive showcase of how CushyStorage simplifies, secures, and modernises local data persistence in your Android projects.
Why CushyStorage?
Android's local storage landscape can be fragmented, requiring developers to juggle SharedPreferences, Jetpack DataStore, and complex encryption solutions. CushyStorage brings all these under one unified, "cushy" API, reducing boilerplate and accelerating development. This demo app provides a hands-on experience with its innovative three-layer architecture.
Key Features You'll Explore:
Standard Storage (Simple):
Witness familiar SharedPreferences operations for non-sensitive data like usernames, settings, and toggles.
Demonstrates fast, synchronous read/write operations for quick UI state management.
Reactive Storage (Simple):
Experience the power of Jetpack DataStore with real-time, non-encrypted data flows.
See live counters and fields update instantly, showcasing seamless integration with Kotlin Coroutines and Jetpack Compose.
Learn how to use both observeString() for continuous updates and getStringReactiveOnce() for one-shot data fetches.
Secure Storage (Encrypted):
Dive into industry-standard AES-GCM encryption for sensitive data.
Interact with a custom UI that displays the raw Base64 [IV + Ciphertext] value alongside the decrypted data, proving the efficacy of the encryption.
Discover how Android KeyStore (hardware-backed security) protects your cryptographic keys, ensuring they never leave the device.
Explore "Reactive + Secure" flows with observeStringEncrypted(), where sensitive data is automatically decrypted and streamed to your UI.
Advanced Developer Insights:
API Compatibility: CushyStorage is compiled against API 35 (Android 15), ensuring broad compatibility across modern Android projects without forcing developers onto experimental build chains.
JVM Unit Test Safety: The library includes intelligent environment detection, preventing KeyStoreException crashes in JVM-based unit tests. This ensures your development workflow remains smooth and efficient.
Clean API Design: Understand how CushyStorage's "flat" API eliminates complex setups, abstracting away the intricacies of Cipher initialization, DataStore.edit() operations, and asynchronous management.
Unified Utilities: Test functions like hasValue() and a powerful remove() utility that clears data across all storage layers simultaneously.
Why Download This Demo?
If you're an Android developer looking to streamline your app's local data management, enhance security without complexity, or explore best practices for modern Android persistence, the CushyStorage Library Demo is your perfect interactive guide.
Download now and see how CushyStorage can bring comfort to your development process!
Learn More & Contribute:
GitHub Repository: https://github.com/UDeedIt/CushyStorage
Maven Central: implementation("pro.udeedit.devtools:cushystorage:1.0.3")
Contact:
For questions or feedback, reach out to udeedit.pro@gmail.com.