Repository navigation
Description
Before submitting
- I searched existing issues and did not find a duplicate.
- I included enough detail to reproduce or investigate the problem.
Area
apps/mobile
Steps to reproduce
- Connect an environment whose Codex or Claude subscription reports more than two limits (for example session, weekly and a scoped limit).
- Add the Subscription usage widget on Android.
- Try to see every limit in the widget.
Expected behavior
The behaviour #13474 shipped on 25 September: every limit is listed, the list scrolls inside the widget, the header reads Subscription usage (N) with the entry count, and the timestamp is labelled "Last checked".
Actual behavior
The widget shows at most two limits per provider and "N more in T3" for the rest. It does not scroll, has no header, and labels the timestamp "As of".
Impact
Limits beyond the first two per provider are not visible from the home screen, which is what #13474 fixed. The only way to see them is to open the app.
Version or commit
main at 18b2132. Introduced by #12046 (e41755cf8a), first shipped in v0.0.45-nightly.20261001.2552.
What happened
This looks like a fix lost in a rewrite, not a deliberate revert:
- 16 Sep: feat(mobile): render the Android subscription widget with expo-widgets #12046 is opened. It replaces the native widget module (
apps/mobile/modules/t3-subscription-widget) with anexpo-widgetslayout. - 25 Sep: fix(mobile): make Android subscription usage widgets scrollable #13474 merges, fixing the native module.
- 1 Oct: feat(mobile): render the Android subscription widget with expo-widgets #12046 merges and deletes that module, including the fix(mobile): make Android subscription usage widgets scrollable #13474 changes to it.
The #12046 description lists what the old module did that expo-widgets does not (expiry re-render, cold-start tap). The #13474 behaviours are not on that list.
| #13474 behaviour | Old native widget | Now (SubscriptionUsage.android.tsx) |
|---|---|---|
| Every limit shown | All rows added to a RemoteCollectionItems list |
provider.windows.slice(0, limit) with const limit = 2 |
| List scrolls | ListView between a fixed header and footer |
Fixed Column, no scrolling |
| No overflow count | Not needed, the list scrolls | N more in T3 per provider |
| Entry count in the header | Subscription usage (%1$d) |
No header |
| Timestamp label | Last checked %1$s |
As of … |
Before/after screenshots and a scrolling recording of the old behaviour are in #13474.
The data is still delivered
The half of #13474 that lives outside the deleted module survived, so this is a layout-only regression:
SubscriptionUsageCoordinator.tsxstill passesPlatform.OS === "android" ? Infinity : 6as the per-provider limit, so the Android snapshot carries every limit. The layout then discards all but two.subscriptionUsageSnapshot.tsstill lists only configured providers, so a Codex-only setup does not get an invented Claude row. That part of fix(mobile): make Android subscription usage widgets scrollable #13474 is not regressed.
Fix direction
@expo/ui 58.0.11 exports LazyColumn, and the expo-widgets Android runtime renders LazyColumnView as a Glance lazy column. Putting the limits in a lazy column would restore scrolling and the full list, and remove the need for the limit constant and the "N more in T3" line. The header count and "Last checked" label are text changes.
One thing to check on a device: the whole card is currently a single Button so that a tap reaches the app. I have not tested whether a lazy column scrolls inside it. The old widget handled this with per-row click intents.
The tests in SubscriptionUsage.android.test.ts assert the current behaviour ("3 more in T3", "As of ") and would need updating.
Related
- [Bug]: Android Subscription usage widget can no longer be resized smaller than 4×3 #15225: the widget can no longer be resized below 4×3. Scrolling is also what makes smaller sizes usable, so the two fixes go together.
- [Bug]: Android widget picker shows the app icon instead of a preview for Subscription usage #15158: the widget picker preview, dropped in the same migration.
- fix(mobile): show relative reset countdowns in widgets #14158: open PR that edits the deleted Kotlin module and now conflicts.
- The old
values/bools.xmlandvalues-v32/bools.xmlunderapps/mobile/modules/t3-subscription-widgetare orphaned and can be removed with the fix.
Environment
Traced from source; not captured on a device. expo-widgets 58.0.11, @expo/ui 58.0.11.
Activity
juliusmarminge commentedon Oct 3, 2026
Note
Grok responding on behalf of Julius.
Triage
Thanks @tris203 for another careful trace, including the timeline. I confirmed this on current
main(f391794a35). The Android widget layout hasn't changed since #12046 (e41755cf8a), and the merged #13474 (59abcd67ac) was already an ancestor of that commit, so the scrolling widget was onmainwhen the rewrite landed.What I verified
SubscriptionUsage.android.tsxstill shows at most two windows per provider (const limit = 2, thenprovider.windows.slice(0, limit)), addsN more in T3, has noSubscription usage (N)header, and labels the timestampAs of ….SubscriptionUsage.android.test.tsasserts that behavior (3 more in T3,As of).The snapshot half of #13474 is still in place, as you said.
SubscriptionUsageCoordinatorpassesInfinityon Android, with a comment that Android scrolls the full list, andsubscriptionUsageSnapshot.test.tsstill expects every limit in that case. So the published snapshot has every row and the Compose layout drops them. #12046's description names expiry re-render and cold-start tap as the old behaviorsexpo-widgetsdoesn't cover, but doesn't mention the scrolling list, the header count, orLast checked.Likely fix area
A maintainer will decide on the fix direction.
LazyColumnis exported from@expo/ui/jetpack-composeat the pinned 58.0.11, which fits your suggestion. Whether it scrolls inside the single cardButtonstill needs a device check.Related
bools.xmlfiles underapps/mobile/modules/t3-subscription-widgetare unreferenced now that feat(mobile): render the Android subscription widget with expo-widgets #12046 deleted the receiver that used@bool/t3_subscription_widget_enabled. Removing them is cleanup, separate from restoring the list.juliusmarminge commentedon Oct 22, 2026
Android device verification is blocked in the triage environment: the device service reports "Agent device access is turned off for this environment." No runtime reproduction or fix has been verified. The report says it was traced from source; can you provide a recording from an Android device showing the widget with more than two subscription limits, including the app version and an attempted scroll?
juliusmarminge commentedon Nov 23, 2026
#34390, now on main: The Android Subscription usage widget no longer caps each provider at two limits; it displays additional limits when space permits and uses compact rows when needed.
Not done: It still truncates overflowing limits behind “N more in T3,” provides no scrolling or “Subscription usage (N)” header, and retains “As of” instead of “Last checked.”
Closing; open a new issue if what is left still matters to you.