The best way to control Claude Code, Codex and more from any computer or phone
Mirrored from https://github.com/Camo67/t3code.git
Synced Nov 23, 20:30 UTC
fix(mobile): Android usage widget no longer sticks on "Loading widget" in release builds (#15142)
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Tristan Knight committed
Oct 4, 2026 at 01:59 UTC
8e399944393ee48054c0ca4aece0b6c9befd0998
1 file changed
+10
-1
apps/mobile/app.config.ts
+10
-1
@@ -418,7 +418,16 @@ const config: ExpoConfig = {
418
minSdkVersion: 24,
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.
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"),
431
},
432
ios: {
433
deploymentTarget: "18.0",