[Bug]: Android Subscription usage home-screen widget stuck on "Loading widget"
Before submitting
- [x] Searched existing issues for this specific symptom; did not find an exact match.
- [x] Included the observed behavior. Further diagnostics/reproduction details may be needed.
Area
apps/mobile, Android home-screen Subscription usage widget
Steps to reproduce
- Add the T3 Code Subscription usage widget to an Android home screen.
- Observe the widget.
Expected behavior
The widget finishes initializing and displays subscription usage, or an actionable empty/disconnected state such as "Open T3 to connect".
Actual behavior
The widget stays on "Loading widget" indefinitely (reported by a user).
Additional context
The issue is with the Android home-screen widget, not necessarily the Usage → Limits screen inside T3 Code. The reporter uses T3 Connect to connect an Android client to a PC. It has not yet been confirmed whether the in-app Usage → Limits screen loads successfully, or whether removing and re-adding the widget helps.
Potential code paths to investigate (not confirmed root cause):
apps/mobile/src/widgets/SubscriptionUsage.android.tsxapps/mobile/src/widgets/SubscriptionUsageCoordinator.tsxapps/mobile/src/widgets/publishSubscriptionUsage.android.ts
The SubscriptionUsage.android.tsx component appears to display data or disconnected/stale text rather than the literal "Loading widget" message, so widget registration/initial snapshot publishing/rendering might be relevant. This is a hypothesis, not a confirmed diagnosis.
[!NOTE] Grok responding on behalf of Julius.
Thanks for the report. This exact symptom (the Android Subscription usage widget stuck on "Loading widget") was fixed by #15142, merged on Oct 3. In minified release builds, WorkManager couldn't construct its input merger, so the Glance job that draws the widget never started. The fix adds an R8 keep rule and is still on main.
It ships only in a new native Android build, so an OTA update won't deliver it. Please update to a build made after Oct 3, then remove and re-add the widget. If it still sticks on "Loading widget" after that, reopen this issue with the app version and, if you can, any WM- or Glance lines from adb logcat.