This commit is contained in:
janisslsm committed 2026-11-01 12:12:55 +02:00
1 parent 1781d25a15
commit 732c0ad767
33051 files changed
+2591613 -3019689

No files matched your search

+30
View File
@@ -0,0 +1,30 @@
// Metro module 1119 (f1120).
import { DEFAULT_BUNDLE_NAME } from "./Module1120";
import * as _Module817 from "./Module817";
import { GLOBAL_OBJ } from "./Module817";
export function getDebugMetadata() {
if (DEFAULT_BUNDLE_NAME) {
const _sentryDebugIds = GLOBAL_OBJ._sentryDebugIds;
if (_sentryDebugIds) {
const r18 = Object.keys(_sentryDebugIds);
if (r18.length) {
if (r18.length > 1) {
_Module817.debug.warn("[Profiling] Multiple debug images found, but only one one bundle is supported. Using the first one...");
return [];
}
if (r18[0]) {
const debug_id = _sentryDebugIds[r18[0]];
return debug_id ? [{
code_file: DEFAULT_BUNDLE_NAME,
debug_id,
type: "sourcemap"
}] : [];
}
return [];
}
return [];
}
return [];
}
return [];
}