A feature-complete native Android application built with Kotlin, Jetpack Compose, and MVVM architecture. The app uses Hilt for dependency injection, Room for local persistence, Retrofit and OkHttp for networking, Coil for image loading, and Firebase for analytics, crashlytics, and cloud messaging.
The UI follows Material Design 3 with dynamic color support on Android 12+, offline-first data sync, WorkManager-backed background jobs, biometric authentication via the AndroidX Biometric library, and deep linking via App Links. Unit tests cover the domain and data layers using JUnit 5 and Mockk; UI tests use Espresso and Compose Test.
Source code includes the full Gradle build with KSP annotation processing, ProGuard/R8 rules, CI configuration for GitHub Actions, Firebase distribution setup, and a Play Store release checklist. Supports Android 7.0 (API 24) through the latest Android version and is fully tested on phones and tablets.
App Architecture:
• Single-activity, multi-composable architecture
• Jetpack Compose for 100% of the UI (no XML layouts)
• Hilt for dependency injection with scoped components
• Kotlin Coroutines + Flow for asynchronous data
• Navigation Compose with type-safe routes
• Clean Architecture: presentation → domain → data
• MVVM with Compose state hoisting
Data & Persistence:
• Room database with KSP-generated DAOs
• DataStore Preferences (replaces SharedPreferences)
• Encrypted storage for sensitive data (AndroidX Security)
• WorkManager for background sync and deferred uploads
• Retrofit 2 + OkHttp 4 + kotlinx.serialization for REST APIs
• Apollo Kotlin for GraphQL APIs
• Pagination 3 for infinite scrolling lists
UI & UX:
• Material Design 3 with dynamic color (Monet) on Android 12+
• Edge-to-edge layouts with proper inset handling
• Dark theme with automatic system preference detection
• Haptic feedback via HapticFeedback APIs
• Predictive back gesture support (Android 14+)
• Shared element transitions between screens
• Accessibility: TalkBack labels, semantics, keyboard navigation
Integrations:
• Firebase Authentication (Email, Google, Facebook, Phone)
• Firebase Cloud Messaging (push notifications)
• Firebase Crashlytics (real-time crash reporting)
• Firebase Analytics and Firebase Performance
• Firebase Remote Config for feature flags
• Google Sign-In with Credential Manager
• Google Pay for payments
• Stripe Android SDK
• Razorpay Android SDK
• Google Maps SDK + Places API
• CameraX for camera features
• MLKit for on-device ML (face detection, barcode, translation)
Build & CI/CD:
• Gradle 8 with version catalogs (libs.versions.toml)
• KSP for annotation processing (2-3x faster than KAPT)
• R8 shrinking and obfuscation configured
• GitHub Actions workflow: build, test, lint, Play Store deploy
• Firebase App Distribution for beta testing
• Bundletool for AAB → APK testing
MinSDK 24 (Android 7.0), TargetSDK 34 (Android 14). Tested on Pixel 4a, Pixel 7, Galaxy S22, OnePlus 11, Xiaomi 13, and Samsung Tab S9.