Changelog: Version 2.2.18
1. Release Optimization
- R8 and Resource Shrinking: Enabled
minifyEnabled
andshrinkResources
for the release build to reduce APK size and improve runtime performance. - ProGuard Integration: Connected
proguard-rules.pro
and added required keep rules for Firebase, DataStore, and protobuf to ensure runtime stability.
2. Dependency Updates
- Build System:
- Updated Gradle to 8.14 and Android Gradle Plugin to 8.9.2.
- Core Dependencies:
- Upgraded Kotlin to 2.1.20 and KSP to 2.1.20-2.0.1.
- Updated Jetpack Compose, WorkManager, Navigation, Accompanist, and related libraries for better compatibility.
- Firebase:
- Migrated to the latest Firebase BoM and Crashlytics plugin.
- Applied ProGuard rules to avoid known
value_
reflection crashes in protobuf-based serialization.
3. Stability Improvements
- Compatibility Enhancements: Library updates improve forward compatibility and resolve version mismatches with Kotlin and AndroidX.
4. Code Quality and Refactoring
- Plugin Cleanup: Updated and aligned Gradle plugins.
- Code Maintenance: Removed unused imports and cleaned up Compose UI modifier chains for readability and performance.
This release focuses on optimizing the production build, improving runtime stability, and ensuring compatibility with the latest Android development ecosystem.