| ... | @@ -418,7 +418,16 @@ const config: ExpoConfig = { | ... | @@ -418,7 +418,16 @@ const config: ExpoConfig = { |
| 418 | minSdkVersion: 24, | 418 | minSdkVersion: 24, |
| 419 | // kotlinx-io uses Kotlin 2.3's return-value checker annotation, while | 419 | // kotlinx-io uses Kotlin 2.3's return-value checker annotation, while |
| 420 | // SDK 58 builds with Kotlin 2.2. It has no runtime behavior. | 420 | // SDK 58 builds with Kotlin 2.2. It has no runtime behavior. |
| 421 | extraProguardRules: "-dontwarn kotlin.MustUseReturnValues", | 421 | // |
| | 422 | // WorkManager 2.9 keeps InputMerger classes but not their constructors, |
| | 423 | // and R8 full mode no longer keeps a default constructor implicitly. |
| | 424 | // Without it no work request can start, so the Glance session behind |
| | 425 | // the widget never renders and it stays on "Loading widget". WorkManager |
| | 426 | // 2.10 ships this rule itself; drop it once the resolved version gets there. |
| | 427 | extraProguardRules: [ |
| | 428 | "-dontwarn kotlin.MustUseReturnValues", |
| | 429 | "-keep class * extends androidx.work.InputMerger { <init>(); }", |
| | 430 | ].join("\n"), |
| 422 | }, | 431 | }, |
| 423 | ios: { | 432 | ios: { |
| 424 | deploymentTarget: "18.0", | 433 | deploymentTarget: "18.0", |