@devries-cameron20 / t3code Mirror · read-only / commits / e30a27bd20
Fork 0

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 21, 08:30 UTC

feat(mobile): redesign the Android usage limits widget (#34390)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Julius Marminge <julius0216@outlook.com>

Koushik_xd committed Nov 17, 2026 at 12:29 UTC e30a27bd207aca3885b89649f7d4d23727c43767
10 files changed +509 -105
apps/mobile/modules/t3-widget-expiry/android/src/main/res/drawable-xxhdpi/t3_widget_hatch_tile.png
Binary files /dev/null and b/apps/mobile/modules/t3-widget-expiry/android/src/main/res/drawable-xxhdpi/t3_widget_hatch_tile.png differ
apps/mobile/modules/t3-widget-expiry/android/src/main/res/drawable/t3_widget_hatch.xml new
+4
@@ -0,0 +1,4 @@
1 +<?xml version="1.0" encoding="utf-8"?>
2 +<bitmap xmlns:android="http://schemas.android.com/apk/res/android"
3 + android:src="@drawable/t3_widget_hatch_tile"
4 + android:tileMode="repeat" />
apps/mobile/src/features/usage/providerColors.ts new
+14
@@ -0,0 +1,14 @@
1 +import type { UsageProviderKind } from "@t3tools/contracts";
2 +
3 +export function providerColors(scheme: "light" | "dark"): Record<UsageProviderKind, string> {
4 + return {
5 + claude: "#d97757",
6 + codex: scheme === "dark" ? "#e6e6e6" : "#3c3c43",
7 + grok: scheme === "dark" ? "#a1a1aa" : "#52525b",
8 + cursor: "#8b8b8b",
9 + opencode: "#5b9bbd",
10 + antigravity: "#8c7bd1",
11 + pi: "#4d9f8a",
12 + muse: "#0866ff",
13 + };
14 +}
apps/mobile/src/features/usage/usageProviders.ts
+2 -11
@@ -1,5 +1,6 @@
1 import type { UsageProviderKind } from "@t3tools/contracts";
2 import { useAppearancePreferences } from "../settings/appearance/AppearancePreferencesProvider";
3 +import { providerColors } from "./providerColors";
4
5 export const PROVIDER_ORDER: readonly UsageProviderKind[] = [
6 "codex",
@@ -29,17 +30,7 @@ export const PROVIDER_LABEL: Record<UsageProviderKind, string> = {
30 };
31
32 export function useProviderColors(): Record<UsageProviderKind, string> {
32 - const { themeAppearance: scheme } = useAppearancePreferences();
33 - return {
34 - claude: "#d97757",
35 - codex: scheme === "dark" ? "#e6e6e6" : "#3c3c43",
36 - grok: scheme === "dark" ? "#a1a1aa" : "#52525b",
37 - cursor: "#8b8b8b",
38 - opencode: "#5b9bbd",
39 - antigravity: "#8c7bd1",
40 - pi: "#4d9f8a",
41 - muse: "#0866ff",
42 - };
33 + return providerColors(useAppearancePreferences().themeAppearance);
34 }
35
36 export function useUsageMixColors() {
apps/mobile/src/widgets/SubscriptionUsage.android.tsx
+290 -66
@@ -1,26 +1,35 @@
1 import {
2 + Box,
3 Button,
4 Column,
5 getMaterialColors,
5 - LinearProgressIndicator,
6 + Image,
7 + Row,
8 + Spacer,
9 Text,
10 } from "@expo/ui/jetpack-compose";
11 import {
12 + background,
13 + cornerRadius,
14 fillMaxSize,
15 fillMaxWidth,
16 height,
17 padding,
18 paddingAll,
19 + size,
20 + width,
21 } from "@expo/ui/jetpack-compose/modifiers";
22 import { createWidget, type WidgetEnvironment } from "expo-widgets";
23
17 -import type { SubscriptionUsageSnapshot as SubscriptionUsageProps } from "./subscriptionUsageSnapshot";
24 +import type {
25 + SubscriptionUsageSnapshot as SubscriptionUsageProps,
26 + WidgetLimitAccount,
27 +} from "./subscriptionUsageSnapshot";
28
29 export function SubscriptionUsage(props: SubscriptionUsageProps, environment: WidgetEnvironment) {
30 "widget";
31 // The widget runtime evaluates this function without the app's module scope.
32 const now = Date.now();
23 - const limit = 2;
33 const mode = props.theme?.mode;
34 const appearance =
35 mode === "light" || mode === "dark"
@@ -29,21 +38,283 @@ export function SubscriptionUsage(props: SubscriptionUsageProps, environment: Wi
38 ? "dark"
39 : "light";
40 const palette = props.theme?.[appearance];
41 + const material = getMaterialColors({ scheme: appearance });
42 const colors = palette
43 ? {
44 surface: palette.background,
45 onSurface: palette.foreground,
36 - onSurfaceVariant: palette.secondary,
37 - surfaceVariant: palette.track,
38 - primary: palette.accent,
46 + muted: palette.secondary,
47 + track: palette.track,
48 error: palette.danger,
49 }
41 - : getMaterialColors({ scheme: appearance });
42 - const muted = colors.onSurfaceVariant;
50 + : {
51 + surface: material.surface,
52 + onSurface: material.onSurface,
53 + muted: material.onSurfaceVariant,
54 + track: material.surfaceVariant,
55 + error: material.error,
56 + };
57 const providers = props.providers ?? [
58 { name: "Codex", detail: "Open T3 to connect", windows: [], expiresAt: 0, totalWindows: 0 },
59 { name: "Claude", detail: "Open T3 to connect", windows: [], expiresAt: 0, totalWindows: 0 },
60 ];
61 +
62 + const pad = 14;
63 + const labelWidth = 92;
64 + const footer = 16;
65 + const widgetWidth = environment.width ?? 320;
66 + const contentWidth = widgetWidth - pad * 2;
67 + const contentHeight = (environment.height ?? 200) - pad * 2 - footer;
68 + const kindOrder: Record<string, number> = { session: 0, weekly: 1 };
69 +
70 + type Line =
71 + | {
72 + type: "window";
73 + provider: string;
74 + color: string;
75 + window: SubscriptionUsageProps["providers"][number]["windows"][number];
76 + }
77 + | { type: "note"; provider: string; text: string };
78 + const lines: Line[] = providers.flatMap((provider): Line[] => {
79 + const stale =
80 + provider.windows.length > 0 && provider.expiresAt > 0 && now >= provider.expiresAt;
81 + if (stale || provider.windows.length === 0)
82 + return [
83 + {
84 + type: "note",
85 + provider: provider.name,
86 + text: stale ? "Open T3 to refresh" : provider.detail,
87 + },
88 + ];
89 + return [...provider.windows]
90 + .sort((a, b) => (kindOrder[a.kind ?? ""] ?? 2) - (kindOrder[b.kind ?? ""] ?? 2))
91 + .map((window) => ({
92 + type: "window",
93 + provider: provider.name,
94 + color: provider.colors?.[appearance] ?? colors.onSurface,
95 + window,
96 + }));
97 + });
98 +
99 + // The snapshot keeps a few windows per provider; the rest still count toward "N more".
100 + const dropped = providers.reduce(
101 + (sum, provider) =>
102 + lines.some((line) => line.type === "window" && line.provider === provider.name)
103 + ? sum + Math.max(0, (provider.totalWindows ?? 0) - provider.windows.length)
104 + : sum,
105 + 0,
106 + );
107 + const slots = lines.length + (dropped > 0 ? 1 : 0);
108 + // Roomy rows when every limit fits, thin bars when they would not.
109 + const fullRow = 34;
110 + const compactRow = 20;
111 + const full = slots * fullRow <= contentHeight;
112 + // Glance columns hold at most ten children, the overflow note included.
113 + const capacity = Math.max(
114 + 1,
115 + Math.min(9, Math.floor(contentHeight / (full ? fullRow : compactRow))),
116 + );
117 + const shown = slots > capacity ? lines.slice(0, capacity - 1) : lines;
118 + const hidden = lines.length - shown.length + dropped;
119 + // Rows share any spare height so short lists do not bunch at the top.
120 + const rowHeight = Math.min(
121 + full ? 52 : 28,
122 + contentHeight / Math.max(1, shown.length + (hidden > 0 ? 1 : 0)),
123 + );
124 +
125 + const low = (remaining: number) => remaining <= 10;
126 + const timeLeft = (account: WidgetLimitAccount) =>
127 + account.resetsAt && account.durationMs
128 + ? Math.max(0, Math.min(1, (account.resetsAt - now) / account.durationMs))
129 + : null;
130 + const paceArrow = (accounts: WidgetLimitAccount[]) => {
131 + const timed = accounts.flatMap((account) => {
132 + const left = timeLeft(account);
133 + return left === null || account.remaining === undefined
134 + ? []
135 + : [{ used: 100 - account.remaining, elapsed: 1 - left }];
136 + });
137 + if (timed.length === 0) return "";
138 + const gap = timed.reduce((sum, t) => sum + t.used - t.elapsed * 100, 0) / timed.length;
139 + return gap > 5 ? " ↗" : gap < -5 ? " ↘" : " →";
140 + };
141 +
142 + const segment = (
143 + account: WidgetLimitAccount,
144 + color: string,
145 + segmentWidth: number,
146 + barHeight: number,
147 + labels: { name: boolean; percent: boolean; reset: boolean },
148 + ) => {
149 + if (account.remaining === undefined)
150 + return <Spacer key={account.name} modifiers={[size(segmentWidth, barHeight)]} />;
151 + const fill = (segmentWidth * account.remaining) / 100;
152 + const refill = (segmentWidth * Math.min(100 - account.remaining, account.refill ?? 0)) / 100;
153 + const left = timeLeft(account);
154 + const tick =
155 + left === null ? null : Math.max(0, Math.min(segmentWidth - 5, segmentWidth * left - 2.5));
156 + return (
157 + <Box
158 + key={account.name}
159 + modifiers={[size(segmentWidth, barHeight), background(colors.track), cornerRadius(6)]}
160 + >
161 + {fill > 0 ? (
162 + <Box modifiers={[size(fill, barHeight), background(`${color}59`), cornerRadius(6)]} />
163 + ) : null}
164 + {refill > 0 ? (
165 + <Row modifiers={[size(segmentWidth, barHeight)]}>
166 + <Spacer modifiers={[width(segmentWidth - refill)]} />
167 + <Image
168 + source={{ uri: "t3_widget_hatch" }}
169 + tint={color}
170 + alpha={0.22}
171 + contentScale="fillBounds"
172 + modifiers={[size(refill, barHeight)]}
173 + />
174 + </Row>
175 + ) : null}
176 + {tick === null ? null : (
177 + <Row modifiers={[size(segmentWidth, barHeight)]}>
178 + <Spacer modifiers={[width(tick)]} />
179 + <Box
180 + contentAlignment="center"
181 + modifiers={[size(5, barHeight), background(colors.surface)]}
182 + >
183 + <Box
184 + modifiers={[
185 + size(2, Math.max(2, barHeight - 4)),
186 + background(colors.onSurface),
187 + cornerRadius(1),
188 + ]}
189 + />
190 + </Box>
191 + </Row>
192 + )}
193 + {labels.percent ? (
194 + <Row
195 + verticalAlignment="center"
196 + modifiers={[size(segmentWidth, barHeight), padding(6, 0, 6, 0)]}
197 + >
198 + {labels.name ? (
199 + <Text color={colors.onSurface} maxLines={1} style={{ fontSize: 10 }}>
200 + {`${account.name} `}
201 + </Text>
202 + ) : null}
203 + <Text
204 + color={low(account.remaining) ? colors.error : colors.onSurface}
205 + maxLines={1}
206 + style={{ fontSize: 10, fontWeight: "bold" }}
207 + >
208 + {`${account.remaining}%`}
209 + </Text>
210 + </Row>
211 + ) : null}
212 + {labels.reset && account.reset ? (
213 + <Box
214 + contentAlignment="centerEnd"
215 + modifiers={[size(segmentWidth, barHeight), padding(0, 0, 3, 0)]}
216 + >
217 + <Box modifiers={[background(colors.surface), cornerRadius(4), padding(4, 1, 4, 1)]}>
218 + <Text color={colors.onSurface} maxLines={1} style={{ fontSize: 9 }}>
219 + {`↻ ${account.reset}`}
220 + </Text>
221 + </Box>
222 + </Box>
223 + ) : null}
224 + </Box>
225 + );
226 + };
227 +
228 + const bar = (line: Extract<Line, { type: "window" }>, barWidth: number, barHeight: number) => {
229 + const fallback: WidgetLimitAccount = { name: line.provider, remaining: line.window.remaining };
230 + const listed = line.window.accounts ?? [];
231 + // Glance rows hold at most ten children: five segments and their gaps.
232 + const accounts = listed.length > 0 && listed.length <= 5 ? listed : [fallback];
233 + const gap = 3;
234 + const segmentWidth = (barWidth - gap * (accounts.length - 1)) / accounts.length;
235 + const multi = accounts.length > 1;
236 + return (
237 + <Row modifiers={[size(barWidth, barHeight)]}>
238 + {accounts.flatMap((account, index) => [
239 + index > 0 ? <Spacer key={`gap-${account.name}`} modifiers={[width(gap)]} /> : null,
240 + segment(account, account.color ?? line.color, segmentWidth, barHeight, {
241 + percent: barHeight >= 16 && multi && segmentWidth >= 34,
242 + name: multi && segmentWidth >= 76,
243 + reset: barHeight >= 16 && !multi && segmentWidth >= 120,
244 + }),
245 + ])}
246 + </Row>
247 + );
248 + };
249 +
250 + const percentText = (remaining: number, fontSize: number) => (
251 + <Text
252 + color={low(remaining) ? colors.error : colors.onSurface}
253 + maxLines={1}
254 + style={{ fontSize, fontWeight: "bold" }}
255 + >
256 + {`${remaining}%`}
257 + </Text>
258 + );
259 +
260 + const row = (line: Line) => {
261 + const label = `${line.provider} ${line.type === "window" ? line.window.label : ""}`.trim();
262 + if (line.type === "note")
263 + return (
264 + <Row
265 + key={`${line.provider}-note`}
266 + verticalAlignment="center"
267 + modifiers={[fillMaxWidth(), height(rowHeight)]}
268 + >
269 + <Text color={colors.onSurface} maxLines={1} style={{ fontSize: 11 }}>
270 + {`${line.provider} `}
271 + </Text>
272 + <Text color={colors.muted} maxLines={1} style={{ fontSize: 11 }}>
273 + {line.text}
274 + </Text>
275 + </Row>
276 + );
277 + if (!full)
278 + return (
279 + <Row key={label} verticalAlignment="center" modifiers={[fillMaxWidth(), height(rowHeight)]}>
280 + <Text
281 + color={colors.muted}
282 + maxLines={1}
283 + style={{ fontSize: 10 }}
284 + modifiers={[width(labelWidth)]}
285 + >
286 + {label}
287 + </Text>
288 + {bar(line, contentWidth - labelWidth - 40, 6)}
289 + <Box contentAlignment="centerEnd" modifiers={[width(40)]}>
290 + {percentText(line.window.remaining, 10)}
291 + </Box>
292 + </Row>
293 + );
294 + return (
295 + <Row key={label} verticalAlignment="center" modifiers={[fillMaxWidth(), height(rowHeight)]}>
296 + <Column modifiers={[width(labelWidth)]}>
297 + <Text color={colors.muted} maxLines={1} style={{ fontSize: 10 }}>
298 + {label}
299 + </Text>
300 + <Row verticalAlignment="bottom">
301 + {percentText(line.window.remaining, 18)}
302 + <Text
303 + color={colors.muted}
304 + maxLines={1}
305 + style={{ fontSize: 10 }}
306 + modifiers={[padding(3, 0, 0, 3)]}
307 + >
308 + {`left${paceArrow(line.window.accounts ?? [])}`}
309 + </Text>
310 + </Row>
311 + </Column>
312 + <Spacer modifiers={[width(8)]} />
313 + {bar(line, contentWidth - labelWidth - 8, 20)}
314 + </Row>
315 + );
316 + };
317 +
318 return (
319 // Android lacks widgetURL; one card Button routes taps to the app listener opening props.url.
320 <Button
@@ -51,67 +322,20 @@ export function SubscriptionUsage(props: SubscriptionUsageProps, environment: Wi
322 modifiers={[fillMaxSize()]}
323 onClick={() => {}}
324 >
54 - <Column modifiers={[fillMaxSize(), paddingAll(16)]}>
55 - {providers.map((provider, index) => {
56 - const stale =
57 - provider.windows.length > 0 && provider.expiresAt > 0 && now >= provider.expiresAt;
58 - const shown = stale ? [] : provider.windows.slice(0, limit);
59 - const hidden = stale ? 0 : (provider.totalWindows ?? provider.windows.length) - limit;
60 - return (
61 - <Column
62 - key={provider.name}
63 - modifiers={[fillMaxWidth(), padding(0, index === 0 ? 0 : 10, 0, 0)]}
64 - >
65 - <Text
66 - color={colors.onSurface}
67 - maxLines={1}
68 - style={{ fontSize: 13, fontWeight: "bold" }}
69 - >
70 - {provider.name}
71 - </Text>
72 - {shown.length === 0 ? (
73 - <Text color={muted} maxLines={1} style={{ fontSize: 11 }}>
74 - {stale ? "Open T3 to refresh" : provider.detail}
75 - </Text>
76 - ) : null}
77 - {shown.map((window) => {
78 - const low = window.remaining <= 10;
79 - return (
80 - <Column key={window.label} modifiers={[fillMaxWidth(), padding(0, 4, 0, 0)]}>
81 - <Text
82 - color={low ? colors.error : colors.onSurface}
83 - maxLines={1}
84 - style={{ fontSize: 11 }}
85 - >
86 - {`${window.label} · ${window.remaining}% left`}
87 - </Text>
88 - <Column modifiers={[fillMaxWidth(), padding(0, 3, 0, 3)]}>
89 - <LinearProgressIndicator
90 - progress={window.remaining / 100}
91 - color={low ? colors.error : colors.primary}
92 - trackColor={colors.surfaceVariant}
93 - modifiers={[fillMaxWidth(), height(6)]}
94 - />
95 - </Column>
96 - <Text color={muted} maxLines={1} style={{ fontSize: 10 }}>
97 - {window.reset}
98 - </Text>
99 - </Column>
100 - );
101 - })}
102 - {hidden > 0 ? (
103 - <Text color={muted} maxLines={1} style={{ fontSize: 10 }}>
104 - {`${hidden} more in T3`}
105 - </Text>
106 - ) : null}
107 - </Column>
108 - );
109 - })}
325 + <Column modifiers={[fillMaxSize(), paddingAll(pad)]}>
326 + <Column modifiers={[fillMaxWidth(), height(contentHeight)]}>
327 + {shown.map(row)}
328 + {hidden > 0 ? (
329 + <Text color={colors.muted} maxLines={1} style={{ fontSize: 10 }}>
330 + {`${hidden} more in T3`}
331 + </Text>
332 + ) : null}
333 + </Column>
334 <Text
111 - color={muted}
335 + color={colors.muted}
336 maxLines={1}
337 style={{ fontSize: 10 }}
114 - modifiers={[padding(0, 10, 0, 0)]}
338 + modifiers={[height(footer)]}
339 >
340 {props.checkedAt
341 ? `As of ${new Date(props.checkedAt).toLocaleString(undefined, { hour: "numeric", minute: "2-digit", month: "short", day: "numeric" })}`
apps/mobile/src/widgets/subscriptionUsageSnapshot.test.ts
+50
@@ -64,6 +64,56 @@ describe("subscription widget snapshots", () => {
64 expect(snapshot.url).toBe(deepLink);
65 expect(JSON.stringify(snapshot)).not.toContain("private@example.com");
66 });
67 + it("splits a pooled window by account without exposing emails", () => {
68 + const claude = (id: string, overrides: Partial<ServerProvider>) =>
69 + provider({
70 + instanceId: ProviderInstanceId.make(id),
71 + driver: ProviderDriverKind.make("claudeAgent"),
72 + auth: { status: "authenticated", email: `${id}@example.com` },
73 + ...overrides,
74 + });
75 + const snapshot = buildSubscriptionUsageSnapshot(
76 + presentations([
77 + claude("smol", {
78 + displayName: "smol",
79 + accentColor: "#4c6ef5",
80 + usageLimits: {
81 + checkedAt,
82 + windows: [{ ...window, usedPercent: 29, windowDurationMins: 300 }],
83 + },
84 + }),
85 + claude("relay", {
86 + displayName: "relay@example.com",
87 + usageLimits: {
88 + checkedAt,
89 + windows: [{ ...window, id: "seven_day", kind: "weekly", label: "Weekly" }],
90 + },
91 + }),
92 + claude("rex", {
93 + usageLimits: {
94 + checkedAt,
95 + windows: [{ ...window, resetsAt: "2026-09-05T11:50:00.000Z" }],
96 + },
97 + }),
98 + ]),
99 + deepLink,
100 + );
101 + const session = snapshot.providers[0]?.windows.find((w) => w.kind === "session");
102 + expect(session?.accounts).toStrictEqual([
103 + { name: "RE", remaining: 60, refill: 0 },
104 + {
105 + name: "smol",
106 + color: "#4c6ef5",
107 + remaining: 71,
108 + refill: 29,
109 + resetsAt: Date.parse(window.resetsAt),
110 + reset: expect.any(String),
111 + durationMs: 300 * 60_000,
112 + },
113 + { name: "RE2" },
114 + ]);
115 + expect(JSON.stringify(snapshot)).not.toContain("example.com");
116 + });
117 it("uses upstream deduplication for a native account also present in a proxy hub", () => {
118 const input = new Map([
119 [
apps/mobile/src/widgets/subscriptionUsageSnapshot.ts
+76 -1
@@ -1,21 +1,42 @@
1 +import { normalizeProviderAccentColor } from "@t3tools/client-runtime/state/provider-instance-display";
2 import {
3 collectLimitAccounts,
4 collectLimitPools,
5 + remainingPercent,
6 type LimitAccount,
7 type LimitPoolWindow,
8 type LimitPresentations,
9 } from "@t3tools/shared/usageLimits";
10
11 +import { providerColors } from "../features/usage/providerColors";
12 import type { WidgetTheme } from "./widgetTheme";
13
14 +export interface WidgetLimitAccount {
15 + name: string;
16 + color?: string;
17 + /** Absent when this account does not report the window. */
18 + remaining?: number;
19 + refill?: number;
20 + resetsAt?: number;
21 + reset?: string;
22 + durationMs?: number;
23 +}
24 +
25 export interface SubscriptionUsageSnapshot {
26 theme?: WidgetTheme;
27 url?: string;
28 checkedAt: number;
29 providers: Array<{
30 name: string;
31 + colors?: { light: string; dark: string };
32 detail: string;
18 - windows: Array<{ kind?: string; label: string; remaining: number; reset: string }>;
33 + windows: Array<{
34 + kind?: string;
35 + label: string;
36 + remaining: number;
37 + reset: string;
38 + accounts?: WidgetLimitAccount[];
39 + }>;
40 expiresAt: number;
41 totalWindows: number;
42 }>;
@@ -45,6 +66,55 @@ export function createWidgetRefresher<Id>(refresh: (id: Id) => Promise<unknown>)
66 };
67 }
68
69 +// Widget snapshots must not persist account emails.
70 +function accountName(account: LimitAccount) {
71 + if (account.displayName && !account.displayName.includes("@")) return account.displayName;
72 + const email = account.email ?? account.displayName;
73 + if (!email?.includes("@")) return "Account";
74 + const [local = "", domain = ""] = email.split("@");
75 + return `${local[0] ?? ""}${domain[0] ?? ""}`.toUpperCase();
76 +}
77 +
78 +function clockLabel(at: number, from: number) {
79 + const time = { hour: "numeric", minute: "2-digit" } as const;
80 + if (new Date(at).toDateString() === new Date(from).toDateString())
81 + return new Date(at).toLocaleTimeString(undefined, time);
82 + return new Date(at).toLocaleString(
83 + undefined,
84 + at - from < 6 * 86_400_000 ? { weekday: "short", ...time } : { month: "short", day: "numeric" },
85 + );
86 +}
87 +
88 +function widgetAccounts(window: LimitPoolWindow): WidgetLimitAccount[] {
89 + const seen = new Map<string, number>();
90 + return window.columns.map((column) => {
91 + // Redacted initials can collide, and the widget keys segments by name.
92 + const base = accountName(column.account);
93 + const count = (seen.get(base) ?? 0) + 1;
94 + seen.set(base, count);
95 + const color = normalizeProviderAccentColor(column.account.accentColor);
96 + // expo-widgets cannot convert an explicit undefined into a Kotlin value.
97 + const account = { name: count > 1 ? `${base}${count}` : base, ...(color && { color }) };
98 + if (column.window === null) return account;
99 + const checkedAt = Date.parse(column.account.limits.checkedAt);
100 + const resetsAt = column.window.resetsAt ? Date.parse(column.window.resetsAt) : NaN;
101 + // A reset at or before the observation already happened.
102 + const reset = resetsAt > checkedAt;
103 + return {
104 + ...account,
105 + remaining: remainingPercent(column.window),
106 + refill: reset ? column.refillPercent : 0,
107 + ...(reset && {
108 + resetsAt,
109 + reset: clockLabel(resetsAt, checkedAt),
110 + }),
111 + ...(column.window.windowDurationMins && {
112 + durationMs: column.window.windowDurationMins * 60_000,
113 + }),
114 + };
115 + });
116 +}
117 +
118 // A reset at or before its account's observation already happened, so it cannot expire the snapshot.
119 const isUpcoming = (reset: LimitPoolWindow["resets"][number]) =>
120 reset.at > Date.parse(reset.member.account.limits.checkedAt);
@@ -69,9 +139,12 @@ function subscriptionUsageProps(
139 .map((driver) => {
140 const pool = pools.find((candidate) => candidate.driver === driver);
141 const name = driver === "codex" ? "Codex" : "Claude";
142 + const kind = driver === "codex" ? "codex" : "claude";
143 + const colors = { light: providerColors("light")[kind], dark: providerColors("dark")[kind] };
144 if (!pool)
145 return {
146 name,
147 + colors,
148 detail: "No limits available",
149 windows: [],
150 expiresAt: 0,
@@ -100,6 +173,7 @@ function subscriptionUsageProps(
173 .sort((a, b) => a.remainingPercent - b.remainingPercent);
174 return {
175 name,
176 + colors,
177 detail: !fresh
178 ? "Open T3 to refresh"
179 : pool.accounts.length > 1
@@ -122,6 +196,7 @@ function subscriptionUsageProps(
196 minute: "2-digit",
197 })}`
198 : "Reset time unavailable",
199 + accounts: widgetAccounts(window),
200 }))
201 : [],
202 };
apps/mobile/src/widgets/widgetTheme.ts
+1 -3
@@ -9,7 +9,6 @@ export interface WidgetPalette {
9 background: string;
10 foreground: string;
11 secondary: string;
12 - accent: string;
12 track: string;
13 danger: string;
14 }
@@ -28,10 +27,9 @@ export function createWidgetTheme(
27 background: variables["--color-card"],
28 foreground: variables["--color-foreground"],
29 secondary: variables["--color-foreground-secondary"],
31 - accent: variables["--color-primary"],
30 // Surface tokens can coincide; a foreground blend keeps the unfilled track visible.
31 track: flattenThemeColor(
34 - themeColorWithAlpha(variables["--color-foreground"], 0.16),
32 + themeColorWithAlpha(variables["--color-foreground"], 0.07),
33 variables["--color-card"],
34 ),
35 danger: variables["--color-danger-foreground"],
patches/expo-widgets@58.0.27.patch
+68 -20
@@ -1,5 +1,19 @@
1 +diff --git a/android/src/main/java/expo/modules/widgets/ExpoWidgetsPeekWidget.kt b/android/src/main/java/expo/modules/widgets/ExpoWidgetsPeekWidget.kt
2 +index edabde8f51b3bd9162b634e46f2f09686c3a3b8a..1a17f3b12972bff9849d39dc257cf1b63a80c5a9 100644
3 +--- a/android/src/main/java/expo/modules/widgets/ExpoWidgetsPeekWidget.kt
4 ++++ b/android/src/main/java/expo/modules/widgets/ExpoWidgetsPeekWidget.kt
5 +@@ -25,7 +25,8 @@ internal class ExpoWidgetsPeekWidget(
6 + val layout = WidgetsLayoutRegistry.layout(appContext, widgetName)
7 + ?: return createErrorRoot("No layout found for $widgetName")
8 + val props = WidgetsLayoutRegistry.props(appContext, widgetName)
9 +- val environment = getWidgetEnvironment(appContext)
10 ++ val environment = getWidgetEnvironment(appContext) +
11 ++ mapOf("width" to size.width.value.toDouble(), "height" to size.height.value.toDouble())
12 + val node = evaluateLayout(appContext, layout, props, environment)
13 +
14 + return node.toPeekRoot(appContext, InteractionSource.Widget(widgetName), size)
15 diff --git a/build/ExpoWidgets.js b/build/ExpoWidgets.js
2 -index 85f3fbd..05b8dd8 100644
16 +index 85f3fbdddade637ed6a96fd0c532a22c675d45c5..05b8dd87f58bfc4acf66652ea04cec777f9be7ca 100644
17 --- a/build/ExpoWidgets.js
18 +++ b/build/ExpoWidgets.js
19 @@ -34,6 +34,7 @@ class LiveActivityFactoryStub {
@@ -11,7 +25,7 @@ index 85f3fbd..05b8dd8 100644
25 class CustomNotificationStub {
26 getId() {
27 diff --git a/build/Widgets.d.ts b/build/Widgets.d.ts
14 -index fb37d5d..47a97af 100644
28 +index fb37d5dd61d34768907ac397d4a6ddfce675bccb..47a97af1b8138caa10ca6f67bad6798ef1ea4a72 100644
29 --- a/build/Widgets.d.ts
30 +++ b/build/Widgets.d.ts
31 @@ -100,6 +100,8 @@ export declare class LiveActivityFactory<T extends object = object> {
@@ -24,7 +38,7 @@ index fb37d5d..47a97af 100644
38 /**
39 * Creates a dismissal policy that removes the Live Activity at the specified time within a four-hour window.
40 diff --git a/build/Widgets.js b/build/Widgets.js
27 -index cc1efce..3ce8897 100644
41 +index cc1efce0ce87337ac55d41a66659048c26698870..3ce8897445a1f4d4be3d4ae69ef6231f1ed604f4 100644
42 --- a/build/Widgets.js
43 +++ b/build/Widgets.js
44 @@ -134,6 +134,9 @@ import ExpoWidgetsModule from './ExpoWidgets';
@@ -38,10 +52,23 @@ index cc1efce..3ce8897 100644
52 /**
53 * Creates a dismissal policy that removes the Live Activity at the specified time within a four-hour window.
54 diff --git a/build/Widgets.types.d.ts b/build/Widgets.types.d.ts
41 -index 4c474bb..dbfb8b1 100644
55 +index 4c474bb2730376c8e182159c096a6031da4864de..f4e2464de5fe0583cd0e893ee4639648fd779033 100644
56 --- a/build/Widgets.types.d.ts
57 +++ b/build/Widgets.types.d.ts
44 -@@ -98,6 +98,10 @@ export type LiveActivityEnvironment = {
58 +@@ -50,6 +50,12 @@ export type WidgetEnvironment<T extends object | undefined = undefined> = {
59 + * The color scheme of the widget's environment.
60 + */
61 + colorScheme?: 'light' | 'dark';
62 ++ /**
63 ++ * The widget's current size in dp.
64 ++ * @platform android
65 ++ */
66 ++ width?: number;
67 ++ height?: number;
68 + /**
69 + * A Boolean value that indicates whether the display or environment currently requires reduced luminance.
70 + *
71 +@@ -98,6 +104,10 @@ export type LiveActivityEnvironment = {
72 * @platform ios
73 */
74 colorScheme: 'light' | 'dark';
@@ -52,7 +79,7 @@ index 4c474bb..dbfb8b1 100644
79 /**
80 * Whether the activity is displayed in a context with reduced luminance.
81 * @platform iOS 16+
55 -@@ -307,6 +311,7 @@ export declare class NativeLiveActivityFactory extends SharedObject {
82 +@@ -307,6 +317,7 @@ export declare class NativeLiveActivityFactory extends SharedObject {
83 constructor(name: string, layout: string);
84 start(props?: string, url?: string, staleDate?: number): NativeLiveActivity;
85 getInstances(): NativeLiveActivity[];
@@ -61,10 +88,10 @@ index 4c474bb..dbfb8b1 100644
88 export declare class NativeLiveActivity extends SharedObject<LiveActivityEvents> {
89 getId(): string;
90 diff --git a/ios/LiveActivityFactory.swift b/ios/LiveActivityFactory.swift
64 -index 29e4f15..629e547 100644
91 +index 29e4f1566d188665e301d32bc1ad85640f83e68c..629e547d8604757e89dd571eab7ad43f7c649cdb 100644
92 --- a/ios/LiveActivityFactory.swift
93 +++ b/ios/LiveActivityFactory.swift
67 -@@ -14,7 +14,16 @@ final class LiveActivityFactory: SharedObject {
94 +@@ -14,11 +14,23 @@ final class LiveActivityFactory: SharedObject {
95 WidgetsStorage.set(layout, forKey: "__expo_widgets_live_activity_\(name)_layout")
96 }
97
@@ -81,7 +108,7 @@ index 29e4f15..629e547 100644
108 guard ActivityAuthorizationInfo().areActivitiesEnabled else {
109 throw LiveActivitiesNotSupportedException()
110 }
84 -@@ -22,3 +31,6 @@ final class LiveActivityFactory: SharedObject {
111 +
112 + // A replacement started beside an ended card would leave both visible.
113 + dismissEnded()
114 +
@@ -89,7 +116,7 @@ index 29e4f15..629e547 100644
116 let initialState = LiveActivityAttributes.ContentState(name: name, props: props)
117 let activity = try Activity.request(
118 diff --git a/ios/Widgets/Utils.swift b/ios/Widgets/Utils.swift
92 -index 76b2199..6cb52c3 100644
119 +index 76b2199c2d3f879463fed5d2bd49038b0428a2e7..6cb52c3de4ad9696bc0c51ad62401cce96f405e7 100644
120 --- a/ios/Widgets/Utils.swift
121 +++ b/ios/Widgets/Utils.swift
122 @@ -125,6 +125,10 @@ func getLiveActivityEnvironment(for environment: EnvironmentValues, in context:
@@ -104,7 +131,7 @@ index 76b2199..6cb52c3 100644
131 env["isActivityUpdateReduced"] = environment.isActivityUpdateReduced
132 env["activityFamily"] = "\(environment.activityFamily)"
133 diff --git a/ios/Widgets/WidgetLiveActivity.swift b/ios/Widgets/WidgetLiveActivity.swift
107 -index 4d135c4..dae4744 100644
134 +index 4d135c4e4eb1f846315654ed9d835a935d120d42..dae47445b27516fa2464a25b68bddc8f6dec3e1e 100644
135 --- a/ios/Widgets/WidgetLiveActivity.swift
136 +++ b/ios/Widgets/WidgetLiveActivity.swift
137 @@ -19,53 +19,41 @@ struct LiveActivityAttributes: ActivityAttributes {
@@ -207,10 +234,10 @@ index 4d135c4..dae4744 100644
234 LiveActivityBanner(context: context, nodes: nodes)
235 } else if let node = nodes["banner"] as? [String: Any] {
236 diff --git a/ios/WidgetsModule.swift b/ios/WidgetsModule.swift
210 -index 285136b..d36eac4 100644
237 +index 285136b3774e531b35c1a3e832506f93f61654be..d36eac46f435a78afda1724d92d685f3fb19406b 100644
238 --- a/ios/WidgetsModule.swift
239 +++ b/ios/WidgetsModule.swift
213 -@@ -97,4 +97,8 @@ public final class WidgetsModule: Module {
240 +@@ -97,6 +97,10 @@ public final class WidgetsModule: Module {
241 Function("getInstances") { (liveActivity: LiveActivityFactory) in
242 try liveActivity.getInstances()
243 }
@@ -219,21 +246,25 @@ index 285136b..d36eac4 100644
246 + liveActivity.dismissEnded()
247 + }
248 }
249 +
250 + Class("LiveActivity", LiveActivity.self) {
251 diff --git a/src/ExpoWidgets.ts b/src/ExpoWidgets.ts
223 -index db15000..6863dc9 100644
252 +index db1500090738cca841ded2967078b8c594bac738..6863dc94a3bb61196920489e3f10f21b77c0cce9 100644
253 --- a/src/ExpoWidgets.ts
254 +++ b/src/ExpoWidgets.ts
226 -@@ -59,4 +59,5 @@ class LiveActivityFactoryStub {
255 +@@ -59,6 +59,7 @@ class LiveActivityFactoryStub {
256 getInstances(): NativeLiveActivity[] {
257 return [];
258 }
259 + dismissEnded(): void {}
260 }
261 +
262 + class CustomNotificationStub {
263 diff --git a/src/Widgets.ts b/src/Widgets.ts
233 -index 814b312..9818907 100644
264 +index 814b3120b254aaea5ccefab0ab52804ca48ecaf8..98189070a124481a0f366c86116552ca0945fcd7 100644
265 --- a/src/Widgets.ts
266 +++ b/src/Widgets.ts
236 -@@ -213,4 +213,9 @@ export class LiveActivityFactory<T extends object = object> {
267 +@@ -213,6 +213,11 @@ export class LiveActivityFactory<T extends object = object> {
268 .getInstances()
269 .map((instance) => new LiveActivity<T>(instance));
270 }
@@ -243,11 +274,26 @@ index 814b312..9818907 100644
274 + this.nativeLiveActivityFactory.dismissEnded();
275 + }
276 }
277 +
278 + /**
279 diff --git a/src/Widgets.types.ts b/src/Widgets.types.ts
247 -index 690d069..c60dd79 100644
280 +index 690d0695c726dd4f260ba3aeb4edb82b9a72cd39..dc700b6f9320406ae567da5f25f88358a5816a8f 100644
281 --- a/src/Widgets.types.ts
282 +++ b/src/Widgets.types.ts
250 -@@ -112,6 +112,10 @@ export type LiveActivityEnvironment = {
283 +@@ -63,6 +63,12 @@ export type WidgetEnvironment<T extends object | undefined = undefined> = {
284 + * The color scheme of the widget's environment.
285 + */
286 + colorScheme?: 'light' | 'dark';
287 ++ /**
288 ++ * The widget's current size in dp.
289 ++ * @platform android
290 ++ */
291 ++ width?: number;
292 ++ height?: number;
293 + /**
294 + * A Boolean value that indicates whether the display or environment currently requires reduced luminance.
295 + *
296 +@@ -112,6 +118,10 @@ export type LiveActivityEnvironment = {
297 * @platform ios
298 */
299 colorScheme: 'light' | 'dark';
@@ -258,9 +304,11 @@ index 690d069..c60dd79 100644
304 /**
305 * Whether the activity is displayed in a context with reduced luminance.
306 * @platform iOS 16+
261 -@@ -337,4 +341,5 @@ export declare class NativeLiveActivityFactory extends SharedObject {
307 +@@ -337,6 +347,7 @@ export declare class NativeLiveActivityFactory extends SharedObject {
308 constructor(name: string, layout: string);
309 start(props?: string, url?: string, staleDate?: number): NativeLiveActivity;
310 getInstances(): NativeLiveActivity[];
311 + dismissEnded(): void;
312 }
313 +
314 + export declare class NativeLiveActivity extends SharedObject<LiveActivityEvents> {
pnpm-lock.yaml
+4 -4
@@ -385,7 +385,7 @@ patchedDependencies:
385 expo-network@58.0.4: 159c2d760d1cd5102e95df51c20600111e7a72096ef0daea8215d50cae48bd98
386 expo-sharing@58.0.22: 321a86e1471e34c53f1f2937fbb4304ea3f7b7a78ad9e4d35febc2b9e73e9688
387 expo-video@58.0.13: e80ec3ef8c4af50a607beea1c0917e71ba679844efdb702b45d17a5f03cf466c
388 - expo-widgets@58.0.27: 8bf49067f93742855e15f29559ac75c8b50230b47069060993c9ea01dac11171
388 + expo-widgets@58.0.27: 0e26817ca487a5156bcc9499f7db2e99a7d102f4a53b6b738f00552958774c86
389 mdast-util-math@3.0.0: afe6b2c89e1eaddfd3c90cf2723f12c9a17d513e65beff51653781486013251c
390 mdast-util-to-hast@13.2.1: 57ea46c73aea3c876ab8d351fe0482ddd081dcb4a0610576e399dbe5eb59d2b1
391 micromark-extension-gfm-table@2.1.1: 9ad23a530e45d9f83cba1da8654fe16d5af8b59d5c73d5c7a7c91fd25b9be1d8
@@ -738,7 +738,7 @@ importers:
738 version: 58.0.7(expo@58.0.23)(react-native@0.88.1(@babel/core@7.29.7(supports-color@8.1.1))(@react-native/metro-config@0.88.1(@babel/core@7.29.7(supports-color@8.1.1))(bufferutil@4.1.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(@types/react@19.3.0)(bufferutil@4.1.0)(react@19.3.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))
739 expo-widgets:
740 specifier: 58.0.27
741 - version: 58.0.27(patch_hash=8bf49067f93742855e15f29559ac75c8b50230b47069060993c9ea01dac11171)(@babel/core@7.29.7(supports-color@8.1.1))(expo@58.0.23)(react-dom@19.3.0(react@19.3.0))(react-native-worklets@0.13.1(@babel/core@7.29.7(supports-color@8.1.1))(@react-native/metro-config@0.88.1(@babel/core@7.29.7(supports-color@8.1.1))(bufferutil@4.1.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(react-native@0.88.1(@babel/core@7.29.7(supports-color@8.1.1))(@react-native/metro-config@0.88.1(@babel/core@7.29.7(supports-color@8.1.1))(bufferutil@4.1.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(@types/react@19.3.0)(bufferutil@4.1.0)(react@19.3.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(react@19.3.0)(supports-color@8.1.1))(react-native@0.88.1(@babel/core@7.29.7(supports-color@8.1.1))(@react-native/metro-config@0.88.1(@babel/core@7.29.7(supports-color@8.1.1))(bufferutil@4.1.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(@types/react@19.3.0)(bufferutil@4.1.0)(react@19.3.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(react@19.3.0)
741 + version: 58.0.27(patch_hash=0e26817ca487a5156bcc9499f7db2e99a7d102f4a53b6b738f00552958774c86)(@babel/core@7.29.7(supports-color@8.1.1))(expo@58.0.23)(react-dom@19.3.0(react@19.3.0))(react-native-worklets@0.13.1(@babel/core@7.29.7(supports-color@8.1.1))(@react-native/metro-config@0.88.1(@babel/core@7.29.7(supports-color@8.1.1))(bufferutil@4.1.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(react-native@0.88.1(@babel/core@7.29.7(supports-color@8.1.1))(@react-native/metro-config@0.88.1(@babel/core@7.29.7(supports-color@8.1.1))(bufferutil@4.1.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(@types/react@19.3.0)(bufferutil@4.1.0)(react@19.3.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(react@19.3.0)(supports-color@8.1.1))(react-native@0.88.1(@babel/core@7.29.7(supports-color@8.1.1))(@react-native/metro-config@0.88.1(@babel/core@7.29.7(supports-color@8.1.1))(bufferutil@4.1.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(@types/react@19.3.0)(bufferutil@4.1.0)(react@19.3.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(react@19.3.0)
742 gt-react-native:
743 specifier: 11.4.18
744 version: 11.4.18(react-native@0.88.1(@babel/core@7.29.7(supports-color@8.1.1))(@react-native/metro-config@0.88.1(@babel/core@7.29.7(supports-color@8.1.1))(bufferutil@4.1.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(@types/react@19.3.0)(bufferutil@4.1.0)(react@19.3.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(react@19.3.0)
@@ -18351,7 +18351,7 @@ snapshots:
18351 optionalDependencies:
18352 '@babel/runtime': 7.29.7
18353 expo: 58.0.23(d226faf1ca90e630d8c56a2108dee32d)
18354 - expo-widgets: 58.0.27(patch_hash=8bf49067f93742855e15f29559ac75c8b50230b47069060993c9ea01dac11171)(@babel/core@7.29.7(supports-color@8.1.1))(expo@58.0.23)(react-dom@19.3.0(react@19.3.0))(react-native-worklets@0.13.1(@babel/core@7.29.7(supports-color@8.1.1))(@react-native/metro-config@0.88.1(@babel/core@7.29.7(supports-color@8.1.1))(bufferutil@4.1.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(react-native@0.88.1(@babel/core@7.29.7(supports-color@8.1.1))(@react-native/metro-config@0.88.1(@babel/core@7.29.7(supports-color@8.1.1))(bufferutil@4.1.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(@types/react@19.3.0)(bufferutil@4.1.0)(react@19.3.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(react@19.3.0)(supports-color@8.1.1))(react-native@0.88.1(@babel/core@7.29.7(supports-color@8.1.1))(@react-native/metro-config@0.88.1(@babel/core@7.29.7(supports-color@8.1.1))(bufferutil@4.1.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(@types/react@19.3.0)(bufferutil@4.1.0)(react@19.3.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(react@19.3.0)
18354 + expo-widgets: 58.0.27(patch_hash=0e26817ca487a5156bcc9499f7db2e99a7d102f4a53b6b738f00552958774c86)(@babel/core@7.29.7(supports-color@8.1.1))(expo@58.0.23)(react-dom@19.3.0(react@19.3.0))(react-native-worklets@0.13.1(@babel/core@7.29.7(supports-color@8.1.1))(@react-native/metro-config@0.88.1(@babel/core@7.29.7(supports-color@8.1.1))(bufferutil@4.1.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(react-native@0.88.1(@babel/core@7.29.7(supports-color@8.1.1))(@react-native/metro-config@0.88.1(@babel/core@7.29.7(supports-color@8.1.1))(bufferutil@4.1.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(@types/react@19.3.0)(bufferutil@4.1.0)(react@19.3.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(react@19.3.0)(supports-color@8.1.1))(react-native@0.88.1(@babel/core@7.29.7(supports-color@8.1.1))(@react-native/metro-config@0.88.1(@babel/core@7.29.7(supports-color@8.1.1))(bufferutil@4.1.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(@types/react@19.3.0)(bufferutil@4.1.0)(react@19.3.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(react@19.3.0)
18355 transitivePeerDependencies:
18356 - '@babel/core'
18357 - supports-color
@@ -19636,7 +19636,7 @@ snapshots:
19636 expo: 58.0.23(d226faf1ca90e630d8c56a2108dee32d)
19637 react-native: 0.88.1(@babel/core@7.29.7(supports-color@8.1.1))(@react-native/metro-config@0.88.1(@babel/core@7.29.7(supports-color@8.1.1))(bufferutil@4.1.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(@types/react@19.3.0)(bufferutil@4.1.0)(react@19.3.0)(supports-color@8.1.1)(utf-8-validate@6.0.6)
19638
19639 - ? expo-widgets@58.0.27(patch_hash=8bf49067f93742855e15f29559ac75c8b50230b47069060993c9ea01dac11171)(@babel/core@7.29.7(supports-color@8.1.1))(expo@58.0.23)(react-dom@19.3.0(react@19.3.0))(react-native-worklets@0.13.1(@babel/core@7.29.7(supports-color@8.1.1))(@react-native/metro-config@0.88.1(@babel/core@7.29.7(supports-color@8.1.1))(bufferutil@4.1.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(react-native@0.88.1(@babel/core@7.29.7(supports-color@8.1.1))(@react-native/metro-config@0.88.1(@babel/core@7.29.7(supports-color@8.1.1))(bufferutil@4.1.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(@types/react@19.3.0)(bufferutil@4.1.0)(react@19.3.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(react@19.3.0)(supports-color@8.1.1))(react-native@0.88.1(@babel/core@7.29.7(supports-color@8.1.1))(@react-native/metro-config@0.88.1(@babel/core@7.29.7(supports-color@8.1.1))(bufferutil@4.1.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(@types/react@19.3.0)(bufferutil@4.1.0)(react@19.3.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(react@19.3.0)
19639 + ? expo-widgets@58.0.27(patch_hash=0e26817ca487a5156bcc9499f7db2e99a7d102f4a53b6b738f00552958774c86)(@babel/core@7.29.7(supports-color@8.1.1))(expo@58.0.23)(react-dom@19.3.0(react@19.3.0))(react-native-worklets@0.13.1(@babel/core@7.29.7(supports-color@8.1.1))(@react-native/metro-config@0.88.1(@babel/core@7.29.7(supports-color@8.1.1))(bufferutil@4.1.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(react-native@0.88.1(@babel/core@7.29.7(supports-color@8.1.1))(@react-native/metro-config@0.88.1(@babel/core@7.29.7(supports-color@8.1.1))(bufferutil@4.1.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(@types/react@19.3.0)(bufferutil@4.1.0)(react@19.3.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(react@19.3.0)(supports-color@8.1.1))(react-native@0.88.1(@babel/core@7.29.7(supports-color@8.1.1))(@react-native/metro-config@0.88.1(@babel/core@7.29.7(supports-color@8.1.1))(bufferutil@4.1.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(@types/react@19.3.0)(bufferutil@4.1.0)(react@19.3.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(react@19.3.0)
19640 : dependencies:
19641 '@expo/plist': 0.10.1
19642 '@expo/ui': 58.0.27(patch_hash=9f2547678939f4ec78fe45163b6455aad63d3c80353d7e0cc783f6a61a7ccc2f)(@babel/core@7.29.7(supports-color@8.1.1))(expo@58.0.23)(react-dom@19.3.0(react@19.3.0))(react-native-worklets@0.13.1(@babel/core@7.29.7(supports-color@8.1.1))(@react-native/metro-config@0.88.1(@babel/core@7.29.7(supports-color@8.1.1))(bufferutil@4.1.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(react-native@0.88.1(@babel/core@7.29.7(supports-color@8.1.1))(@react-native/metro-config@0.88.1(@babel/core@7.29.7(supports-color@8.1.1))(bufferutil@4.1.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(@types/react@19.3.0)(bufferutil@4.1.0)(react@19.3.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(react@19.3.0)(supports-color@8.1.1))(react-native@0.88.1(@babel/core@7.29.7(supports-color@8.1.1))(@react-native/metro-config@0.88.1(@babel/core@7.29.7(supports-color@8.1.1))(bufferutil@4.1.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(@types/react@19.3.0)(bufferutil@4.1.0)(react@19.3.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(react@19.3.0)