decord/beta/source/utils/native/ClientInfoUtils.tsx

26 lines
760 B
TypeScript
Raw Normal View History

2026-10-07 22:43:51 +00:00
// Module ID: 1368
// Function ID: 1369
2026-10-01 14:13:23 +00:00
// Name: react-native
2026-10-07 22:43:51 +00:00
// Dependencies: [1354, 2]
// Exports: getBuildNumberLabel, getConstants
2026-10-07 22:43:51 +00:00
// Module 1368 (react-native)
import react_nativeDefault from "react-native" /* 1354 */;
import size from "module_2" /* 2 */;
const result = size.fileFinishedImporting("utils/native/ClientInfoUtils.tsx");
export const getConstants = function getConstants() {
2026-10-01 14:13:23 +00:00
const obj = react_nativeDefault;
return obj.getConstants();
};
export const getBuildNumberLabel = function getBuildNumberLabel() {
const items = ["0", "123456", "1234567890"];
2026-10-07 22:43:51 +00:00
let str = "34910700000000";
if (items.includes("34910700000000")) {
const _HermesInternal = HermesInternal;
2026-10-07 22:43:51 +00:00
str = "dev (" + "34910700000000" + ")";
}
return str;
};