Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.0.7] - 2026-08-15

### Fixed
- **WorkManager Proguard Keep Rules**: Added explicit R8/Proguard rules for `androidx.work.**` and `androidx.room.**` to prevent startup crash (`Failed to create an instance of class androidx.work.impl.WorkDatabase`) in release builds with code minification enabled.

## [0.0.6] - 2026-08-15

### Added
Expand Down
4 changes: 2 additions & 2 deletions android/app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ android {
applicationId = "com.urmanac.moonphase"
minSdk = 26
targetSdk = 35
versionCode = 6
versionName = "0.0.6"
versionCode = 7
versionName = "0.0.7"
}

buildTypes {
Expand Down
8 changes: 8 additions & 0 deletions android/app/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@
# Keep Chicory WebAssembly interpreter classes to prevent R8 from removing/obfuscating them
-keep class com.dylibso.chicory.** { *; }

# Keep WorkManager and Room reflection/implementation classes
-keep class androidx.work.** { *; }
-keep class androidx.room.** { *; }
-keep class * extends androidx.work.Worker { *; }
-keep class * extends androidx.work.CoroutineWorker { *; }
-keep class * extends androidx.work.ListenableWorker { *; }

# Suppress warnings about missing compile-only annotations and logging dependencies in Chicory
-dontwarn com.dylibso.chicory.experimental.hostmodule.annotations.Buffer
-dontwarn com.dylibso.chicory.experimental.hostmodule.annotations.HostModule
Expand All @@ -14,3 +21,4 @@
-dontwarn java.lang.System$Logger$Level
-dontwarn java.lang.System$Logger