@devries-cameron20 / t3code-1 / commits / 00f53d68e1
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

fix(mobile): crash report shows the store build number (#16052)

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Co-authored-by: Julius Marminge <julius0216@outlook.com>

Mohamed Akef committed Oct 19, 2026 at 07:42 UTC 00f53d68e179accb3be96fac14cb5810bce5ed2d
3 files changed +9 -5
apps/mobile/package.json
+1
@@ -84,6 +84,7 @@
84 "diff": "8.0.3",
85 "effect": "catalog:",
86 "expo": "58.0.14",
87 + "expo-application": "~58.1.2",
88 "expo-asset": "~58.0.16",
89 "expo-audio": "58.0.9",
90 "expo-auth-session": "~58.0.13",
apps/mobile/src/features/diagnostics/SettingsDiagnosticsRouteScreen.tsx
+5 -5
@@ -1,9 +1,10 @@
1 import { AppActivityIndicator } from "../../components/ui/AppActivityIndicator";
2 import { ScreenScrollView as ScrollView } from "../../components/ui/ScreenScrollView";
3 +import * as Application from "expo-application";
4 import Constants from "expo-constants";
5 import * as Updates from "expo-updates";
6 import { useEffect, useState } from "react";
6 -import { Platform, View } from "react-native";
7 +import { View } from "react-native";
8 import { useSafeAreaInsets } from "react-native-safe-area-context";
9
10 import { SymbolView } from "../../components/ui/AppSymbol";
@@ -30,10 +31,9 @@ type CrashLogState =
31 function appIdentity() {
32 return {
33 version: Constants.expoConfig?.version ?? "0.0.0",
33 - build:
34 - (Platform.OS === "ios"
35 - ? Constants.platform?.ios?.buildNumber
36 - : Constants.platform?.android?.versionCode?.toString()) ?? "dev",
34 + // EAS assigns build numbers remotely, so expo-constants never sees them;
35 + // only the installed binary knows its own.
36 + build: Application.nativeBuildVersion ?? "dev",
37 };
38 }
39
pnpm-lock.yaml
+3
@@ -431,6 +431,9 @@ importers:
431 expo:
432 specifier: 58.0.14
433 version: 58.0.14(1106b1d11fc0fad6d0556b6a93329d99)
434 + expo-application:
435 + specifier: ~58.1.2
436 + version: 58.1.2(expo@58.0.14)
437 expo-asset:
438 specifier: ~58.0.16
439 version: 58.0.16(expo@58.0.14)(react-native@0.88.0(@babel/core@7.29.7)(@react-native/metro-config@0.88.0(@babel/core@7.29.7)(bufferutil@4.1.0)(utf-8-validate@6.0.6))(@types/react@19.3.0)(bufferutil@4.1.0)(react@19.3.0)(utf-8-validate@6.0.6))(react@19.3.0)(typescript@7.0.2)