miaoda-expo-devkit 0.1.1-beta.132 → 0.1.1-beta.133

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "miaoda-expo-devkit",
3
- "version": "0.1.1-beta.132",
3
+ "version": "0.1.1-beta.133",
4
4
  "description": "Expo 应用开发工具集:Sentry DSN 替换 stub、错误/网络捕获、Metro 符号化",
5
5
  "license": "MIT",
6
6
  "main": "./dist/index.js",
@@ -1,5 +1,5 @@
1
1
  diff --git a/bundledNativeModules.json b/bundledNativeModules.json
2
- index e2b8941..355deae 100644
2
+ index e2b8941..1c5cc10 100644
3
3
  --- a/bundledNativeModules.json
4
4
  +++ b/bundledNativeModules.json
5
5
  @@ -19,7 +19,7 @@
@@ -819,7 +819,7 @@ index 0000000..3b44065
819
819
  +}
820
820
  diff --git a/src/async-require/miaodaHmrCompatibilityCheck.native.ts b/src/async-require/miaodaHmrCompatibilityCheck.native.ts
821
821
  new file mode 100644
822
- index 0000000..de12dc6
822
+ index 0000000..1289497
823
823
  --- /dev/null
824
824
  +++ b/src/async-require/miaodaHmrCompatibilityCheck.native.ts
825
825
  @@ -0,0 +1,85 @@
@@ -830,7 +830,7 @@ index 0000000..de12dc6
830
830
  + getMiaodaNativeBlockingStatus,
831
831
  + onMiaodaNativeBlockingStatusAction,
832
832
  +} from './miaodaNativeBlockingStatus';
833
- +import { MIAODA_PROMPT_COPY } from '../launch/miaodaPromptCopy';
833
+ +import { getMiaodaPromptCopy } from '../launch/miaodaPromptCopy';
834
834
  +import { isRunningInExpoGo } from '../environment/ExpoGo';
835
835
  +
836
836
  +export type { HmrCompatibilityState } from './miaodaHmrCompatibility';
@@ -888,8 +888,8 @@ index 0000000..de12dc6
888
888
  +) {
889
889
  + Alert.alert(
890
890
  + status === 'incompatible'
891
- + ? MIAODA_PROMPT_COPY.incompatibleTitle
892
- + : MIAODA_PROMPT_COPY.unknownTitle,
891
+ + ? getMiaodaPromptCopy().incompatibleTitle
892
+ + : getMiaodaPromptCopy().unknownTitle,
893
893
  + `${reason}\n\n更新已暂停,当前应用仍可继续使用。建议根据项目最新原生依赖重新构建并安装开发客户端后再更新。仍要更新可能导致应用无法运行。`,
894
894
  + [
895
895
  + { text: '保留当前应用', style: 'cancel', onPress: () => resolve('hold') },
@@ -1018,7 +1018,7 @@ index 0000000..ea5ddd5
1018
1018
  +}
1019
1019
  diff --git a/src/launch/MiaodaDevServerBanner.tsx b/src/launch/MiaodaDevServerBanner.tsx
1020
1020
  new file mode 100644
1021
- index 0000000..13037b7
1021
+ index 0000000..15dfe42
1022
1022
  --- /dev/null
1023
1023
  +++ b/src/launch/MiaodaDevServerBanner.tsx
1024
1024
  @@ -0,0 +1,50 @@
@@ -1027,7 +1027,7 @@ index 0000000..13037b7
1027
1027
  +
1028
1028
  +import { isMiaodaServerDisconnected, subscribeMiaodaServerDisconnected } from '../async-require/hmr';
1029
1029
  +import { getMiaodaNativeBlockingStatus } from '../async-require/miaodaNativeBlockingStatus';
1030
- +import { MIAODA_PROMPT_COPY } from './miaodaPromptCopy';
1030
+ +import { getMiaodaPromptCopy } from './miaodaPromptCopy';
1031
1031
  +import { getInitialSafeArea } from '../environment/getInitialSafeArea';
1032
1032
  +
1033
1033
  +// 开发服务器断线提示横幅(旧客户端回退):/_hmr/status 轮询连续失败达到阈值后
@@ -1040,7 +1040,7 @@ index 0000000..13037b7
1040
1040
  + if (!disconnected || getMiaodaNativeBlockingStatus() != null) return null;
1041
1041
  + return (
1042
1042
  + <View style={styles.container}>
1043
- + <Text style={styles.title}>{MIAODA_PROMPT_COPY.disconnectedTitle}</Text>
1043
+ + <Text style={styles.title}>{getMiaodaPromptCopy().disconnectedTitle}</Text>
1044
1044
  + <Text style={styles.subtitle}>应用仍可继续使用,服务恢复后将自动重连</Text>
1045
1045
  + </View>
1046
1046
  + );
@@ -1151,14 +1151,15 @@ index 0000000..4aecd61
1151
1151
  +});
1152
1152
  diff --git a/src/launch/MiaodaHmrOverlay.tsx b/src/launch/MiaodaHmrOverlay.tsx
1153
1153
  new file mode 100644
1154
- index 0000000..6d47443
1154
+ index 0000000..66f5237
1155
1155
  --- /dev/null
1156
1156
  +++ b/src/launch/MiaodaHmrOverlay.tsx
1157
- @@ -0,0 +1,60 @@
1157
+ @@ -0,0 +1,63 @@
1158
1158
  +import * as React from 'react';
1159
1159
  +import { ActivityIndicator, StyleSheet, Text, View } from 'react-native';
1160
1160
  +
1161
1161
  +import { isMiaodaPresentationVisible, subscribeMiaodaPresentation } from '../async-require/hmr';
1162
+ +import { getMiaodaPromptCopy } from './miaodaPromptCopy';
1162
1163
  +
1163
1164
  +// Miaoda HMR 批量编辑期间的「更新中」全屏遮罩。
1164
1165
  +//
@@ -1180,13 +1181,15 @@ index 0000000..6d47443
1180
1181
  +
1181
1182
  + if (!visible) return null;
1182
1183
  +
1184
+ + const copy = getMiaodaPromptCopy();
1185
+ +
1183
1186
  + // absoluteFill + 默认的 pointerEvents="auto":作为根组件的最后一个兄弟节点
1184
1187
  + // 渲染在用户界面之上,拦截全部触摸,直到最终更新完成。
1185
1188
  + return (
1186
1189
  + <View style={styles.container}>
1187
1190
  + <ActivityIndicator color="#ffffff" size="large" />
1188
- + <Text style={styles.title}>应用正在修改中</Text>
1189
- + <Text style={styles.subtitle}>暂时无法使用,更新完成后将自动恢复</Text>
1191
+ + <Text style={styles.title}>{copy.hmrUpdatingTitle}</Text>
1192
+ + <Text style={styles.subtitle}>{copy.hmrUpdatingBody}</Text>
1190
1193
  + </View>
1191
1194
  + );
1192
1195
  +}
@@ -1217,19 +1220,24 @@ index 0000000..6d47443
1217
1220
  +});
1218
1221
  diff --git a/src/launch/miaodaPromptCopy.ts b/src/launch/miaodaPromptCopy.ts
1219
1222
  new file mode 100644
1220
- index 0000000..43ceee2
1223
+ index 0000000..ee42adb
1221
1224
  --- /dev/null
1222
1225
  +++ b/src/launch/miaodaPromptCopy.ts
1223
- @@ -0,0 +1,44 @@
1226
+ @@ -0,0 +1,106 @@
1224
1227
  +// Development Build 提示文案的唯一事实源(devkit 补丁 JS 侧)。
1225
1228
  +//
1226
1229
  +// 连接问题与能力问题各只有一套文案,所有时机(热更新前、复制错误前、运行中
1227
1230
  +// 断线)共用。与 iOS 的 DevLauncherPromptCopy.swift、Android 的
1228
- +// DevLauncherPromptCopy.kt、react-native 补丁的 LogBoxPromptCopy.js 逐字对应,
1229
- +// 由 devkit 的文案一致性测试(promptCopyConsistency.test.ts)锁定;修改任何
1231
+ +// DevLauncherPromptCopy.kt、react-native 补丁的 LogBoxPromptCopy.js 按语言逐字
1232
+ +// 对应,由 devkit 的文案一致性测试(promptCopyConsistency.test.ts)锁定;修改任何
1230
1233
  +// 一端必须同步其余三端。
1234
+ +//
1235
+ +// 语言跟随原生 Launcher 导出的 `ExpoDevLauncher.locale`,保证 JS 提示与原生界面
1236
+ +// 一致。旧开发客户端没有该常量,其原生界面只有中文,因此回退中文。
1237
+ +
1238
+ +export type MiaodaPromptLocale = 'zh' | 'en';
1231
1239
  +
1232
- +export const MIAODA_PROMPT_COPY = {
1240
+ +export const MIAODA_PROMPT_COPY_ZH = {
1233
1241
  + // 连接问题(运行中断线阻断页;加载前由原生吉祥物状态页承担)。
1234
1242
  + connectingTitle: '正在连接开发服务器',
1235
1243
  + connectFailedTitle: '无法连接开发服务器',
@@ -1254,17 +1262,74 @@ index 0000000..43ceee2
1254
1262
  + copyRetryButtonTitle: '重试',
1255
1263
  +
1256
1264
  + // 能力问题(复制错误前,仅旧客户端回退弹窗使用)。复制确认专用正文不复用
1257
- + // incompatibleBody(其「强制加载」只适用于加载前的提示)。
1265
+ + // incompatibleBody(其「强制加载」只适用于加载前的提示)。提问只用于拼接,
1266
+ + // 英文自带前导空格。
1258
1267
  + copyIncompatibleBody:
1259
1268
  + '当前调试包不支持部分新增能力,建议前往电脑端重新构建并安装新的调试包。',
1260
1269
  + copyConfirmQuestion: '确定还要复制报错吗?',
1261
1270
  + copyConfirmButtonTitle: '仍要复制',
1271
+ +
1272
+ + // 批量编辑期间的「更新中」遮罩(仅 JS,不在四端统一键里)。
1273
+ + hmrUpdatingTitle: '应用正在修改中',
1274
+ + hmrUpdatingBody: '暂时无法使用,更新完成后将自动恢复',
1262
1275
  +} as const;
1263
1276
  +
1264
- +export const MIAODA_PROMPT_COPY_INCOMPATIBLE_MESSAGE =
1265
- + MIAODA_PROMPT_COPY.copyIncompatibleBody + MIAODA_PROMPT_COPY.copyConfirmQuestion;
1266
- +export const MIAODA_PROMPT_COPY_UNKNOWN_MESSAGE =
1267
- + MIAODA_PROMPT_COPY.unknownBody + MIAODA_PROMPT_COPY.copyConfirmQuestion;
1277
+ +export type MiaodaPromptCopy = Record<keyof typeof MIAODA_PROMPT_COPY_ZH, string>;
1278
+ +
1279
+ +export const MIAODA_PROMPT_COPY_EN: MiaodaPromptCopy = {
1280
+ + connectingTitle: 'Connecting to development server',
1281
+ + connectFailedTitle: "Can't connect to development server",
1282
+ + connectFailedBody: 'Make sure the development server is running, or reopen this app from Miaoda.',
1283
+ + retryButtonTitle: 'Try again',
1284
+ + retryingButtonTitle: 'Retrying',
1285
+ + disconnectedTitle: 'Disconnected from development server',
1286
+ + disconnectedBody:
1287
+ + 'This app is paused and will resume automatically when the connection is restored. You can also try again or exit the development client.',
1288
+ +
1289
+ + incompatibleTitle: 'This development build is outdated',
1290
+ + incompatibleBody:
1291
+ + "This development build doesn't support some newly added capabilities. Loading anyway may cause some features to fail or behave unexpectedly. Rebuild and install a new development build on your computer.",
1292
+ + unknownTitle: "Can't verify this development build",
1293
+ + unknownBody:
1294
+ + "The native capability check couldn't be completed. Continuing may stop the app from running. Check your network and reopen the app, or rebuild the development client.",
1295
+ + continueButtonTitle: 'Continue anyway',
1296
+ +
1297
+ + exitButtonTitle: 'Exit',
1298
+ + cancelButtonTitle: 'Cancel',
1299
+ + copyRetryButtonTitle: 'Retry',
1300
+ +
1301
+ + copyIncompatibleBody:
1302
+ + "This development build doesn't support some newly added capabilities. Rebuild and install a new development build on your computer.",
1303
+ + copyConfirmQuestion: ' Copy the error anyway?',
1304
+ + copyConfirmButtonTitle: 'Copy anyway',
1305
+ +
1306
+ + hmrUpdatingTitle: 'Updating the app',
1307
+ + hmrUpdatingBody: "The app can't be used right now. It will resume when the update finishes.",
1308
+ +};
1309
+ +
1310
+ +/** 读取原生 Launcher 的界面语言;不缓存,避免模块尚未安装时固化错误结果。 */
1311
+ +export function getMiaodaPromptLocale(): MiaodaPromptLocale {
1312
+ + const runtime = globalThis as typeof globalThis & {
1313
+ + expo?: { modules?: { ExpoDevLauncher?: { locale?: unknown } } };
1314
+ + };
1315
+ + return runtime.expo?.modules?.ExpoDevLauncher?.locale === 'en' ? 'en' : 'zh';
1316
+ +}
1317
+ +
1318
+ +export function getMiaodaPromptCopy(locale = getMiaodaPromptLocale()): MiaodaPromptCopy {
1319
+ + return locale === 'en' ? MIAODA_PROMPT_COPY_EN : MIAODA_PROMPT_COPY_ZH;
1320
+ +}
1321
+ +
1322
+ +/** 复制确认弹窗正文(incompatible):复制专用正文 + 提问。 */
1323
+ +export function getMiaodaCopyIncompatibleMessage(locale = getMiaodaPromptLocale()): string {
1324
+ + const copy = getMiaodaPromptCopy(locale);
1325
+ + return copy.copyIncompatibleBody + copy.copyConfirmQuestion;
1326
+ +}
1327
+ +
1328
+ +/** 复制确认弹窗正文(unknown):统一正文 + 提问。 */
1329
+ +export function getMiaodaCopyUnknownMessage(locale = getMiaodaPromptLocale()): string {
1330
+ + const copy = getMiaodaPromptCopy(locale);
1331
+ + return copy.unknownBody + copy.copyConfirmQuestion;
1332
+ +}
1268
1333
  diff --git a/src/launch/withDevTools.ios.tsx b/src/launch/withDevTools.ios.tsx
1269
1334
  index f1f686c..c64b1ca 100644
1270
1335
  --- a/src/launch/withDevTools.ios.tsx
@@ -252,22 +252,38 @@ index 2ce92e0..671733a 100644
252
252
  if (newLogs.length !== logs.size) {
253
253
  diff --git a/Libraries/LogBox/Data/LogBoxPromptCopy.js b/Libraries/LogBox/Data/LogBoxPromptCopy.js
254
254
  new file mode 100644
255
- index 0000000..280c2d5
255
+ index 0000000..db510cb
256
256
  --- /dev/null
257
257
  +++ b/Libraries/LogBox/Data/LogBoxPromptCopy.js
258
- @@ -0,0 +1,35 @@
258
+ @@ -0,0 +1,191 @@
259
259
  +/**
260
260
  + * Development Build 提示文案的唯一事实源(react-native 补丁 JS 侧,LogBox 复制链路)。
261
261
  + *
262
262
  + * 与 iOS 的 DevLauncherPromptCopy.swift、Android 的 DevLauncherPromptCopy.kt、
263
- + * expo 补丁的 miaodaPromptCopy.ts 逐字对应,由 devkit 的文案一致性测试
263
+ + * expo 补丁的 miaodaPromptCopy.ts 按语言逐字对应,由 devkit 的文案一致性测试
264
264
  + * (promptCopyConsistency.test.ts)锁定;修改任何一端必须同步其余三端。
265
265
  + *
266
+ + * 语言跟随原生 Launcher 导出的 `ExpoDevLauncher.locale`;旧开发客户端没有该常量,
267
+ + * 其原生界面只有中文,因此回退中文。
268
+ + *
266
269
  + * @flow strict-local
267
270
  + * @format
268
271
  + */
269
272
  +
270
- +export const LOGBOX_PROMPT_COPY = {
273
+ +export type LogBoxPromptCopy = {
274
+ + incompatibleTitle: string,
275
+ + incompatibleBody: string,
276
+ + unknownTitle: string,
277
+ + unknownBody: string,
278
+ + cancelButtonTitle: string,
279
+ + copyRetryButtonTitle: string,
280
+ + copyIncompatibleBody: string,
281
+ + copyConfirmQuestion: string,
282
+ + copyConfirmButtonTitle: string,
283
+ + copyFailedTitle: string,
284
+ +};
285
+ +
286
+ +export const LOGBOX_PROMPT_COPY_ZH: LogBoxPromptCopy = {
271
287
  + // 能力问题(复制错误前确认弹窗)。
272
288
  + incompatibleTitle: '当前调试包已过期,需重新构建',
273
289
  + incompatibleBody:
@@ -281,16 +297,156 @@ index 0000000..280c2d5
281
297
  + copyRetryButtonTitle: '重试',
282
298
  +
283
299
  + // 复制确认:点击「复制错误给智能体修复」且能力不兼容时的系统弹窗专用正文,
284
- + // 不复用 incompatibleBody(其「强制加载」只适用于加载前的提示)。
300
+ + // 不复用 incompatibleBody(其「强制加载」只适用于加载前的提示)。提问只用于
301
+ + // 拼接,英文自带前导空格。
285
302
  + copyIncompatibleBody:
286
303
  + '当前调试包不支持部分新增能力,建议前往电脑端重新构建并安装新的调试包。',
287
304
  + copyConfirmQuestion: '确定还要复制报错吗?',
288
305
  + copyConfirmButtonTitle: '仍要复制',
306
+ +
307
+ + // 剪贴板写入失败弹窗标题(仅 LogBox,不在四端统一键里)。
308
+ + copyFailedTitle: '复制失败',
289
309
  +};
290
310
  +
311
+ +export const LOGBOX_PROMPT_COPY_EN: LogBoxPromptCopy = {
312
+ + incompatibleTitle: 'This development build is outdated',
313
+ + incompatibleBody:
314
+ + "This development build doesn't support some newly added capabilities. Loading anyway may cause some features to fail or behave unexpectedly. Rebuild and install a new development build on your computer.",
315
+ + unknownTitle: "Can't verify this development build",
316
+ + unknownBody:
317
+ + "The native capability check couldn't be completed. Continuing may stop the app from running. Check your network and reopen the app, or rebuild the development client.",
318
+ +
319
+ + cancelButtonTitle: 'Cancel',
320
+ + copyRetryButtonTitle: 'Retry',
321
+ +
322
+ + copyIncompatibleBody:
323
+ + "This development build doesn't support some newly added capabilities. Rebuild and install a new development build on your computer.",
324
+ + copyConfirmQuestion: ' Copy the error anyway?',
325
+ + copyConfirmButtonTitle: 'Copy anyway',
326
+ +
327
+ + copyFailedTitle: "Couldn't copy",
328
+ +};
329
+ +
330
+ +/** 读取原生 Launcher 的界面语言;不缓存,避免模块尚未安装时固化错误结果。 */
331
+ +export function getLogBoxPromptLocale(): 'zh' | 'en' {
332
+ + return globalThis.expo?.modules?.ExpoDevLauncher?.locale === 'en' ? 'en' : 'zh';
333
+ +}
334
+ +
335
+ +export function getLogBoxPromptCopy(
336
+ + locale: 'zh' | 'en' = getLogBoxPromptLocale(),
337
+ +): LogBoxPromptCopy {
338
+ + return locale === 'en' ? LOGBOX_PROMPT_COPY_EN : LOGBOX_PROMPT_COPY_ZH;
339
+ +}
340
+ +
291
341
  +// 复制确认弹窗正文:专用正文 + 提问,不追加缺失模块等原因列表。
292
- +export const LOGBOX_COPY_INCOMPATIBLE_MESSAGE: string =
293
- + LOGBOX_PROMPT_COPY.copyIncompatibleBody + LOGBOX_PROMPT_COPY.copyConfirmQuestion;
342
+ +export function getLogBoxCopyIncompatibleMessage(
343
+ + locale: 'zh' | 'en' = getLogBoxPromptLocale(),
344
+ +): string {
345
+ + const copy = getLogBoxPromptCopy(locale);
346
+ + return copy.copyIncompatibleBody + copy.copyConfirmQuestion;
347
+ +}
348
+ +
349
+ +// ---- LogBox 错误页界面文案(仅 react-native 补丁使用,不在四端统一键里) ----
350
+ +// 复制到剪贴板的诊断文本面向智能体,固定中文字段名,不随界面语言变化。
351
+ +
352
+ +export type LogBoxUiCopy = {
353
+ + consoleWarning: string,
354
+ + consoleError: string,
355
+ + uncaughtError: string,
356
+ + syntaxError: string,
357
+ + renderError: string,
358
+ + unhandledRejection: string,
359
+ + bundlingError: string,
360
+ + logPosition: (index: number, total: number) => string,
361
+ + seeMore: string,
362
+ + source: string,
363
+ + componentStack: string,
364
+ + callStack: string,
365
+ + seeMoreComponents: (count: number) => string,
366
+ + collapseComponents: (count: number) => string,
367
+ + noCallStack: string,
368
+ + showingAllFrames: string,
369
+ + expandFrames: (count: number) => string,
370
+ + collapseFrames: (count: number) => string,
371
+ + unsymbolicatedHint: string,
372
+ + copied: string,
373
+ + checkingCompatibility: string,
374
+ + copyError: string,
375
+ + undismissable: string,
376
+ + dismiss: string,
377
+ + minimize: string,
378
+ + copyPrepareFailed: string,
379
+ + copyWriteFailed: string,
380
+ +};
381
+ +
382
+ +export const LOGBOX_UI_COPY_ZH: LogBoxUiCopy = {
383
+ + consoleWarning: '控制台警告',
384
+ + consoleError: '控制台错误',
385
+ + uncaughtError: '未捕获错误',
386
+ + syntaxError: '语法错误',
387
+ + renderError: '渲染错误',
388
+ + unhandledRejection: '未处理的 Promise 拒绝',
389
+ + bundlingError: '编译错误',
390
+ + logPosition: (index, total) => `日志 ${index} / ${total}`,
391
+ + seeMore: '... 查看更多',
392
+ + source: '源代码',
393
+ + componentStack: '组件栈',
394
+ + callStack: '调用栈',
395
+ + seeMoreComponents: count => `查看更多 ${count} 个组件`,
396
+ + collapseComponents: count => `折叠 ${count} 个组件`,
397
+ + noCallStack: '暂无调用栈',
398
+ + showingAllFrames: '已显示全部调用栈',
399
+ + expandFrames: count => `展开 ${count} 个调用栈帧`,
400
+ + collapseFrames: count => `折叠 ${count} 个调用栈帧`,
401
+ + unsymbolicatedHint: '当前调用栈尚未完成符号化,函数名和源码跳转可能不可用。',
402
+ + copied: '已复制',
403
+ + checkingCompatibility: '正在检查兼容性(最多 8 秒)',
404
+ + copyError: '复制错误给智能体修复',
405
+ + undismissable: '此错误无法关闭,请修复代码后重新加载。',
406
+ + dismiss: '关闭',
407
+ + minimize: '最小化',
408
+ + copyPrepareFailed: '无法整理错误内容,请重试。',
409
+ + copyWriteFailed: '剪贴板写入失败,请重试。',
410
+ +};
411
+ +
412
+ +const plural = (count: number, noun: string) => `${count} ${noun}${count === 1 ? '' : 's'}`;
413
+ +
414
+ +export const LOGBOX_UI_COPY_EN: LogBoxUiCopy = {
415
+ + consoleWarning: 'Console Warning',
416
+ + consoleError: 'Console Error',
417
+ + uncaughtError: 'Uncaught Error',
418
+ + syntaxError: 'Syntax Error',
419
+ + renderError: 'Render Error',
420
+ + unhandledRejection: 'Unhandled Promise Rejection',
421
+ + bundlingError: 'Bundling Error',
422
+ + logPosition: (index, total) => `Log ${index} of ${total}`,
423
+ + seeMore: '... See More',
424
+ + source: 'Source',
425
+ + componentStack: 'Component Stack',
426
+ + callStack: 'Call Stack',
427
+ + seeMoreComponents: count => `See ${plural(count, 'more component')}`,
428
+ + collapseComponents: count => `Collapse ${plural(count, 'component')}`,
429
+ + noCallStack: 'No call stack',
430
+ + showingAllFrames: 'Showing all frames',
431
+ + expandFrames: count => `See ${plural(count, 'more frame')}`,
432
+ + collapseFrames: count => `Collapse ${plural(count, 'frame')}`,
433
+ + unsymbolicatedHint:
434
+ + "This call stack hasn't been symbolicated yet. Function names and source links may be unavailable.",
435
+ + copied: 'Copied',
436
+ + checkingCompatibility: 'Checking compatibility (up to 8 seconds)',
437
+ + copyError: 'Copy error for the agent to fix',
438
+ + undismissable: "This error can't be dismissed. Fix the code and reload.",
439
+ + dismiss: 'Dismiss',
440
+ + minimize: 'Minimize',
441
+ + copyPrepareFailed: "Couldn't prepare the error details. Try again.",
442
+ + copyWriteFailed: "Couldn't write to the clipboard. Try again.",
443
+ +};
444
+ +
445
+ +export function getLogBoxUiCopy(
446
+ + locale: 'zh' | 'en' = getLogBoxPromptLocale(),
447
+ +): LogBoxUiCopy {
448
+ + return locale === 'en' ? LOGBOX_UI_COPY_EN : LOGBOX_UI_COPY_ZH;
449
+ +}
294
450
  diff --git a/Libraries/LogBox/LogBoxInspectorContainer.js b/Libraries/LogBox/LogBoxInspectorContainer.js
295
451
  index 3ccf93a..26ca59f 100644
296
452
  --- a/Libraries/LogBox/LogBoxInspectorContainer.js
@@ -330,10 +486,10 @@ index a3fa687..309f2d5 100644
330
486
  );
331
487
  return (
332
488
  diff --git a/Libraries/LogBox/UI/LogBoxInspector.js b/Libraries/LogBox/UI/LogBoxInspector.js
333
- index be889b0..d5633f6 100644
489
+ index be889b0..63fe0d0 100644
334
490
  --- a/Libraries/LogBox/UI/LogBoxInspector.js
335
491
  +++ b/Libraries/LogBox/UI/LogBoxInspector.js
336
- @@ -8,6 +8,14 @@
492
+ @@ -8,6 +8,15 @@
337
493
  * @format
338
494
  */
339
495
 
@@ -342,13 +498,14 @@ index be889b0..d5633f6 100644
342
498
  +import Alert from '../../Alert/Alert';
343
499
  +import {createLogBoxCopyController} from '../Data/LogBoxCopy';
344
500
  +import {
345
- + LOGBOX_COPY_INCOMPATIBLE_MESSAGE,
346
- + LOGBOX_PROMPT_COPY,
501
+ + getLogBoxCopyIncompatibleMessage,
502
+ + getLogBoxPromptCopy,
503
+ + getLogBoxUiCopy,
347
504
  +} from '../Data/LogBoxPromptCopy';
348
505
  import Keyboard from '../../Components/Keyboard/Keyboard';
349
506
  import View from '../../Components/View/View';
350
507
  import StyleSheet from '../../StyleSheet/StyleSheet';
351
- @@ -18,7 +26,97 @@ import LogBoxInspectorFooter from './LogBoxInspectorFooter';
508
+ @@ -18,7 +27,97 @@ import LogBoxInspectorFooter from './LogBoxInspectorFooter';
352
509
  import LogBoxInspectorHeader from './LogBoxInspectorHeader';
353
510
  import * as LogBoxStyle from './LogBoxStyle';
354
511
  import * as React from 'react';
@@ -447,7 +604,7 @@ index be889b0..d5633f6 100644
447
604
 
448
605
  type Props = $ReadOnly<{
449
606
  onDismiss: () => void,
450
- @@ -32,6 +130,10 @@ type Props = $ReadOnly<{
607
+ @@ -32,6 +131,10 @@ type Props = $ReadOnly<{
451
608
  export default function LogBoxInspector(props: Props): React.Node {
452
609
  const {logs, selectedIndex} = props;
453
610
  let log = logs[selectedIndex];
@@ -458,7 +615,7 @@ index be889b0..d5633f6 100644
458
615
 
459
616
  useEffect(() => {
460
617
  if (log) {
461
- @@ -55,10 +157,87 @@ export default function LogBoxInspector(props: Props): React.Node {
618
+ @@ -55,10 +158,90 @@ export default function LogBoxInspector(props: Props): React.Node {
462
619
  Keyboard.dismiss();
463
620
  }, []);
464
621
 
@@ -476,18 +633,20 @@ index be889b0..d5633f6 100644
476
633
  + if (currentLog.current !== log) {
477
634
  + return;
478
635
  + }
636
+ + const copy = getLogBoxPromptCopy();
479
637
  + if (phase === 'write') {
480
- + Alert.alert('复制失败', message);
638
+ + // 写入失败的原因由 LogBoxCopy 固定生成,这里按界面语言展示同义文案。
639
+ + Alert.alert(copy.copyFailedTitle, getLogBoxUiCopy().copyWriteFailed);
481
640
  + return;
482
641
  + }
483
642
  + // 检查失败(unknown):统一标题/正文 + 重试/取消,不再透传零散 reason。
484
643
  + Alert.alert(
485
- + LOGBOX_PROMPT_COPY.unknownTitle,
486
- + LOGBOX_PROMPT_COPY.unknownBody,
644
+ + copy.unknownTitle,
645
+ + copy.unknownBody,
487
646
  + [
488
- + {text: LOGBOX_PROMPT_COPY.cancelButtonTitle, style: 'cancel', onPress: () => {}},
647
+ + {text: copy.cancelButtonTitle, style: 'cancel', onPress: () => {}},
489
648
  + {
490
- + text: LOGBOX_PROMPT_COPY.copyRetryButtonTitle,
649
+ + text: copy.copyRetryButtonTitle,
491
650
  + onPress: () => {
492
651
  + if (currentLog.current === log) {
493
652
  + void controllerRef?.copy(formatLogForClipboard(log));
@@ -504,15 +663,16 @@ index be889b0..d5633f6 100644
504
663
  + resolve(false);
505
664
  + return;
506
665
  + }
666
+ + const copy = getLogBoxPromptCopy();
507
667
  + Alert.alert(
508
- + LOGBOX_PROMPT_COPY.incompatibleTitle,
509
- + LOGBOX_COPY_INCOMPATIBLE_MESSAGE,
668
+ + copy.incompatibleTitle,
669
+ + getLogBoxCopyIncompatibleMessage(),
510
670
  + // 「仍要复制」在左、「取消」在右。Android 按「中性、否定、肯定」从左到右排列,
511
671
  + // iOS 会把 cancel 样式的按钮固定在左侧,所以这里不设 style: 'cancel',
512
672
  + // 两端都按数组顺序展示;返回键与点外部仍由 onDismiss 视为取消。
513
673
  + [
514
- + {text: LOGBOX_PROMPT_COPY.copyConfirmButtonTitle, onPress: () => resolve(true)},
515
- + {text: LOGBOX_PROMPT_COPY.cancelButtonTitle, onPress: () => resolve(false)},
674
+ + {text: copy.copyConfirmButtonTitle, onPress: () => resolve(true)},
675
+ + {text: copy.cancelButtonTitle, onPress: () => resolve(false)},
516
676
  + ],
517
677
  + {cancelable: true, onDismiss: () => resolve(false)}
518
678
  + );
@@ -539,14 +699,14 @@ index be889b0..d5633f6 100644
539
699
  + } catch {
540
700
  + // 复制失败不能再次触发 LogBox,否则会遮盖原始错误。
541
701
  + setCopyStatus('copy-failed');
542
- + Alert.alert('复制失败', '无法整理错误内容,请重试。');
702
+ + Alert.alert(getLogBoxPromptCopy().copyFailedTitle, getLogBoxUiCopy().copyPrepareFailed);
543
703
  + }
544
704
  + }
545
705
  +
546
706
  if (log == null) {
547
707
  return null;
548
708
  }
549
- @@ -73,6 +252,8 @@ export default function LogBoxInspector(props: Props): React.Node {
709
+ @@ -73,6 +256,8 @@ export default function LogBoxInspector(props: Props): React.Node {
550
710
  />
551
711
  <LogBoxInspectorBody log={log} onRetry={_handleRetry} />
552
712
  <LogBoxInspectorFooter
@@ -556,27 +716,36 @@ index be889b0..d5633f6 100644
556
716
  onMinimize={props.onMinimize}
557
717
  level={log.level}
558
718
  diff --git a/Libraries/LogBox/UI/LogBoxInspectorBody.js b/Libraries/LogBox/UI/LogBoxInspectorBody.js
559
- index f9059fa..c1c8f02 100644
719
+ index f9059fa..3c9069e 100644
560
720
  --- a/Libraries/LogBox/UI/LogBoxInspectorBody.js
561
721
  +++ b/Libraries/LogBox/UI/LogBoxInspectorBody.js
562
- @@ -20,11 +20,11 @@ import * as React from 'react';
722
+ @@ -18,14 +18,18 @@ import LogBoxInspectorStackFrames from './LogBoxInspectorStackFrames';
723
+ import * as LogBoxStyle from './LogBoxStyle';
724
+ import * as React from 'react';
563
725
  import {useEffect, useState} from 'react';
726
+ +import {getLogBoxUiCopy} from '../Data/LogBoxPromptCopy';
564
727
 
565
- const headerTitleMap = {
728
+ -const headerTitleMap = {
566
729
  - warn: 'Console Warning',
567
730
  - error: 'Console Error',
568
731
  - fatal: 'Uncaught Error',
569
732
  - syntax: 'Syntax Error',
570
733
  - component: 'Render Error',
571
- + warn: '控制台警告',
572
- + error: '控制台错误',
573
- + fatal: '未捕获错误',
574
- + syntax: '语法错误',
575
- + component: '渲染错误',
576
- };
734
+ -};
735
+ +function headerTitleFor(key: 'warn' | 'error' | 'fatal' | 'syntax' | 'component'): string {
736
+ + const copy = getLogBoxUiCopy();
737
+ + return {
738
+ + warn: copy.consoleWarning,
739
+ + error: copy.consoleError,
740
+ + fatal: copy.uncaughtError,
741
+ + syntax: copy.syntaxError,
742
+ + component: copy.renderError,
743
+ + }[key];
744
+ +}
577
745
 
578
746
  export default function LogBoxInspectorBody(props: {
579
- @@ -37,9 +37,12 @@ export default function LogBoxInspectorBody(props: {
747
+ log: LogBoxLog,
748
+ @@ -37,9 +41,12 @@ export default function LogBoxInspectorBody(props: {
580
749
  setCollapsed(true);
581
750
  }, [props.log]);
582
751
 
@@ -584,33 +753,44 @@ index f9059fa..c1c8f02 100644
584
753
  - props.log.type ??
585
754
  - headerTitleMap[props.log.isComponentError ? 'component' : props.log.level];
586
755
  + const headerTitle = props.log.message.content.includes('Uncaught (in promise')
587
- + ? '未处理的 Promise 拒绝'
756
+ + ? getLogBoxUiCopy().unhandledRejection
588
757
  + : (props.log.type === 'Metro Error'
589
- + ? '编译错误'
758
+ + ? getLogBoxUiCopy().bundlingError
590
759
  + : (props.log.type ??
591
- + headerTitleMap[props.log.isComponentError ? 'component' : props.log.level]));
760
+ + headerTitleFor(props.log.isComponentError ? 'component' : props.log.level)));
592
761
 
593
762
  if (collapsed) {
594
763
  return (
595
764
  diff --git a/Libraries/LogBox/UI/LogBoxInspectorCodeFrame.js b/Libraries/LogBox/UI/LogBoxInspectorCodeFrame.js
596
- index 0b4606c..d3d72d7 100644
765
+ index 0b4606c..3e5c7ee 100644
597
766
  --- a/Libraries/LogBox/UI/LogBoxInspectorCodeFrame.js
598
767
  +++ b/Libraries/LogBox/UI/LogBoxInspectorCodeFrame.js
599
- @@ -94,7 +94,7 @@ function LogBoxInspectorCodeFrame(props: Props): React.Node {
768
+ @@ -22,6 +22,7 @@ import LogBoxButton from './LogBoxButton';
769
+ import LogBoxInspectorSection from './LogBoxInspectorSection';
770
+ import * as LogBoxStyle from './LogBoxStyle';
771
+ import * as React from 'react';
772
+ +import {getLogBoxUiCopy} from '../Data/LogBoxPromptCopy';
773
+
774
+ type Props = $ReadOnly<{
775
+ componentCodeFrame: ?CodeFrame,
776
+ @@ -94,7 +95,7 @@ function LogBoxInspectorCodeFrame(props: Props): React.Node {
600
777
  }
601
778
  return (
602
779
  <LogBoxInspectorSection
603
780
  - heading={sources.length > 1 ? 'Sources' : 'Source'}
604
- + heading="源代码"
781
+ + heading={getLogBoxUiCopy().source}
605
782
  action={<AppInfo />}>
606
783
  {sources.map((frame, index) => (
607
784
  <CodeFrameDisplay key={index} codeFrame={frame} />
608
785
  diff --git a/Libraries/LogBox/UI/LogBoxInspectorFooter.js b/Libraries/LogBox/UI/LogBoxInspectorFooter.js
609
- index c3a7b69..3b27917 100644
786
+ index c3a7b69..8a2139f 100644
610
787
  --- a/Libraries/LogBox/UI/LogBoxInspectorFooter.js
611
788
  +++ b/Libraries/LogBox/UI/LogBoxInspectorFooter.js
612
- @@ -18,36 +18,54 @@ import * as LogBoxStyle from './LogBoxStyle';
789
+ @@ -16,38 +16,58 @@ import Text from '../../Text/Text';
790
+ import LogBoxInspectorFooterButton from './LogBoxInspectorFooterButton';
791
+ import * as LogBoxStyle from './LogBoxStyle';
613
792
  import * as React from 'react';
793
+ +import {getLogBoxUiCopy} from '../Data/LogBoxPromptCopy';
614
794
 
615
795
  type Props = $ReadOnly<{
616
796
  + copyStatus: 'idle' | 'checking' | 'confirming' | 'copied' | 'check-failed' | 'copy-failed',
@@ -634,12 +814,13 @@ index c3a7b69..3b27917 100644
634
814
  - }
635
815
  + // 过程态只保留「正在检查」与默认文案:确认期间按钮被控制器锁住,
636
816
  + // 失败统一走弹窗(不再在按钮上显示「检查失败,点击重试」)。
817
+ + const copy = getLogBoxUiCopy();
637
818
  + const copyButtonText =
638
819
  + props.copyStatus === 'copied'
639
- + ? '已复制'
820
+ + ? copy.copied
640
821
  + : props.copyStatus === 'checking'
641
- + ? '正在检查兼容性(最多 8 秒)'
642
- + : '复制错误给智能体修复';
822
+ + ? copy.checkingCompatibility
823
+ + : copy.copyError;
643
824
 
644
825
  return (
645
826
  - <View style={styles.root}>
@@ -665,19 +846,19 @@ index c3a7b69..3b27917 100644
665
846
  + {props.level === 'syntax' ? (
666
847
  + <View style={styles.button}>
667
848
  + <Text id="logbox_dismissable_text" style={styles.syntaxErrorText}>
668
- + 此错误无法关闭,请修复代码后重新加载。
849
+ + {copy.undismissable}
669
850
  + </Text>
670
851
  + </View>
671
852
  + ) : (
672
853
  + <>
673
854
  + <LogBoxInspectorFooterButton
674
855
  + id="logbox_footer_button_dismiss"
675
- + text="关闭"
856
+ + text={copy.dismiss}
676
857
  + onPress={props.onDismiss}
677
858
  + />
678
859
  + <LogBoxInspectorFooterButton
679
860
  + id="logbox_footer_button_minimize"
680
- + text="最小化"
861
+ + text={copy.minimize}
681
862
  + onPress={props.onMinimize}
682
863
  + />
683
864
  + </>
@@ -700,72 +881,104 @@ index e75d7a2..57d1f47 100644
700
881
  }>;
701
882
 
702
883
  diff --git a/Libraries/LogBox/UI/LogBoxInspectorHeader.js b/Libraries/LogBox/UI/LogBoxInspectorHeader.js
703
- index c6aa793..975315c 100644
884
+ index c6aa793..87e71bc 100644
704
885
  --- a/Libraries/LogBox/UI/LogBoxInspectorHeader.js
705
886
  +++ b/Libraries/LogBox/UI/LogBoxInspectorHeader.js
706
- @@ -50,7 +50,7 @@ export default function LogBoxInspectorHeader(props: Props): React.Node {
887
+ @@ -19,6 +19,7 @@ import Platform from '../../Utilities/Platform';
888
+ import LogBoxInspectorHeaderButton from './LogBoxInspectorHeaderButton';
889
+ import * as LogBoxStyle from './LogBoxStyle';
890
+ import * as React from 'react';
891
+ +import {getLogBoxUiCopy} from '../Data/LogBoxPromptCopy';
892
+
893
+ type Props = $ReadOnly<{
894
+ onSelectIndex: (selectedIndex: number) => void,
895
+ @@ -50,7 +51,7 @@ export default function LogBoxInspectorHeader(props: Props): React.Node {
707
896
  const nextIndex =
708
897
  props.selectedIndex + 1 > props.total - 1 ? 0 : props.selectedIndex + 1;
709
898
 
710
899
  - const titleText = `Log ${props.selectedIndex + 1} of ${props.total}`;
711
- + const titleText = `日志 ${props.selectedIndex + 1} / ${props.total}`;
900
+ + const titleText = getLogBoxUiCopy().logPosition(props.selectedIndex + 1, props.total);
712
901
 
713
902
  return (
714
903
  <LogBoxInspectorHeaderSafeArea style={styles[props.level]}>
715
904
  diff --git a/Libraries/LogBox/UI/LogBoxInspectorMessageHeader.js b/Libraries/LogBox/UI/LogBoxInspectorMessageHeader.js
716
- index 65259c1..a0edb49 100644
905
+ index 65259c1..4ee0bc0 100644
717
906
  --- a/Libraries/LogBox/UI/LogBoxInspectorMessageHeader.js
718
907
  +++ b/Libraries/LogBox/UI/LogBoxInspectorMessageHeader.js
719
- @@ -38,7 +38,7 @@ function LogBoxInspectorMessageHeader(props: Props): React.Node {
908
+ @@ -17,6 +17,7 @@ import Text from '../../Text/Text';
909
+ import LogBoxMessage from './LogBoxMessage';
910
+ import * as LogBoxStyle from './LogBoxStyle';
911
+ import * as React from 'react';
912
+ +import {getLogBoxUiCopy} from '../Data/LogBoxPromptCopy';
913
+
914
+ type Props = $ReadOnly<{
915
+ collapsed: boolean,
916
+ @@ -38,7 +39,7 @@ function LogBoxInspectorMessageHeader(props: Props): React.Node {
720
917
  }
721
918
  return (
722
919
  <Text style={messageStyles.collapse} onPress={() => props.onPress()}>
723
920
  - ... See More
724
- + ... 查看更多
921
+ + {getLogBoxUiCopy().seeMore}
725
922
  </Text>
726
923
  );
727
924
  }
728
925
  diff --git a/Libraries/LogBox/UI/LogBoxInspectorReactFrames.js b/Libraries/LogBox/UI/LogBoxInspectorReactFrames.js
729
- index d9e0b1a..f5b8482 100644
926
+ index d9e0b1a..396fbff 100644
730
927
  --- a/Libraries/LogBox/UI/LogBoxInspectorReactFrames.js
731
928
  +++ b/Libraries/LogBox/UI/LogBoxInspectorReactFrames.js
732
- @@ -73,14 +73,14 @@ function LogBoxInspectorReactFrames(props: Props): React.Node {
929
+ @@ -20,6 +20,7 @@ import LogBoxInspectorSection from './LogBoxInspectorSection';
930
+ import * as LogBoxStyle from './LogBoxStyle';
931
+ import * as React from 'react';
932
+ import {useState} from 'react';
933
+ +import {getLogBoxUiCopy} from '../Data/LogBoxPromptCopy';
934
+
935
+ type Props = $ReadOnly<{
936
+ log: LogBoxLog,
937
+ @@ -73,14 +74,14 @@ function LogBoxInspectorReactFrames(props: Props): React.Node {
733
938
 
734
939
  const count = props.log.getAvailableComponentStack().length - 3;
735
940
  if (collapsed) {
736
941
  - return `See ${count} more components`;
737
- + return `查看更多 ${count} 个组件`;
942
+ + return getLogBoxUiCopy().seeMoreComponents(count);
738
943
  } else {
739
944
  - return `Collapse ${count} components`;
740
- + return `折叠 ${count} 个组件`;
945
+ + return getLogBoxUiCopy().collapseComponents(count);
741
946
  }
742
947
  }
743
948
 
744
949
  return (
745
950
  - <LogBoxInspectorSection heading="Component Stack">
746
- + <LogBoxInspectorSection heading="组件栈">
951
+ + <LogBoxInspectorSection heading={getLogBoxUiCopy().componentStack}>
747
952
  {getStackList().map((frame, index) => (
748
953
  <View
749
954
  // Unfortunately we don't have a unique identifier for stack traces.
750
955
  diff --git a/Libraries/LogBox/UI/LogBoxInspectorStackFrames.js b/Libraries/LogBox/UI/LogBoxInspectorStackFrames.js
751
- index 48c1b84..41b308d 100644
956
+ index 48c1b84..c76e19b 100644
752
957
  --- a/Libraries/LogBox/UI/LogBoxInspectorStackFrames.js
753
958
  +++ b/Libraries/LogBox/UI/LogBoxInspectorStackFrames.js
754
- @@ -34,7 +34,7 @@ export function getCollapseMessage(
959
+ @@ -23,6 +23,7 @@ import LogBoxInspectorStackFrame from './LogBoxInspectorStackFrame';
960
+ import * as LogBoxStyle from './LogBoxStyle';
961
+ import * as React from 'react';
962
+ import {useState} from 'react';
963
+ +import {getLogBoxUiCopy} from '../Data/LogBoxPromptCopy';
964
+
965
+ type Props = $ReadOnly<{
966
+ log: LogBoxLog,
967
+ @@ -34,7 +35,7 @@ export function getCollapseMessage(
755
968
  collapsed: boolean,
756
969
  ): string {
757
970
  if (stackFrames.length === 0) {
758
971
  - return 'No frames to show';
759
- + return '暂无调用栈';
972
+ + return getLogBoxUiCopy().noCallStack;
760
973
  }
761
974
 
762
975
  const collapsedCount = stackFrames.reduce((count, {collapse}) => {
763
- @@ -46,23 +46,12 @@ export function getCollapseMessage(
976
+ @@ -46,23 +47,12 @@ export function getCollapseMessage(
764
977
  }, 0);
765
978
 
766
979
  if (collapsedCount === 0) {
767
980
  - return 'Showing all frames';
768
- + return '已显示全部调用栈';
981
+ + return getLogBoxUiCopy().showingAllFrames;
769
982
  }
770
983
 
771
984
  - const framePlural = `frame${collapsedCount > 1 ? 's' : ''}`;
@@ -783,27 +996,27 @@ index 48c1b84..41b308d 100644
783
996
  - : `Collapse ${collapsedCount} ${framePlural}`;
784
997
  - }
785
998
  + return collapsed
786
- + ? `展开 ${collapsedCount} 个调用栈帧`
787
- + : `折叠 ${collapsedCount} 个调用栈帧`;
999
+ + ? getLogBoxUiCopy().expandFrames(collapsedCount)
1000
+ + : getLogBoxUiCopy().collapseFrames(collapsedCount);
788
1001
  }
789
1002
 
790
1003
  function LogBoxInspectorStackFrames(props: Props): React.Node {
791
- @@ -85,7 +74,7 @@ function LogBoxInspectorStackFrames(props: Props): React.Node {
1004
+ @@ -85,7 +75,7 @@ function LogBoxInspectorStackFrames(props: Props): React.Node {
792
1005
 
793
1006
  return (
794
1007
  <LogBoxInspectorSection
795
1008
  - heading="Call Stack"
796
- + heading="调用栈"
1009
+ + heading={getLogBoxUiCopy().callStack}
797
1010
  action={
798
1011
  <LogBoxInspectorSourceMapStatus
799
1012
  onPress={
800
- @@ -97,8 +86,7 @@ function LogBoxInspectorStackFrames(props: Props): React.Node {
1013
+ @@ -97,8 +87,7 @@ function LogBoxInspectorStackFrames(props: Props): React.Node {
801
1014
  {props.log.symbolicated.status !== 'COMPLETE' && (
802
1015
  <View style={stackStyles.hintBox}>
803
1016
  <Text style={stackStyles.hintText}>
804
1017
  - This call stack is not symbolicated. Some features are unavailable
805
1018
  - such as viewing the function name or tapping to open files.
806
- + 当前调用栈尚未完成符号化,函数名和源码跳转可能不可用。
1019
+ + {getLogBoxUiCopy().unsymbolicatedHint}
807
1020
  </Text>
808
1021
  </View>
809
1022
  )}
package/pnpmfile.cjs CHANGED
@@ -11,6 +11,7 @@ const managedPatches = {
11
11
  [REACT_NATIVE_PATCH_SELECTOR]: {
12
12
  filename: 'react-native@0.83.2.patch',
13
13
  legacyHashes: new Set([
14
+ 'b9c536e36f367d8c0adfa268b4b3961d757b7df8f690d4122daa39b4b4981b37',
14
15
  '8d2725c46977a73050e59f9dda17db4b819cd691a32f5a970fe832dcae480e8f',
15
16
  '7c80a1caedd1c4397c7d3a8cf253b76a5d93c25779150c5cbadcac1a270f0312',
16
17
  '5506d130966fbe0539c3a7de1b4b0dac4f39fe21efde52307bb3c4b99837c01c',