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

26 lines
760 B
TypeScript
Raw Normal View History

2026-10-03 08:58:59 +00:00
// Module ID: 1368
// Function ID: 1369
// Name: react-native
// Dependencies: [1354, 2]
2026-07-20 16:05:17 +00:00
// Exports: getBuildNumberLabel, getConstants
2026-10-03 08:58:59 +00:00
// Module 1368 (react-native)
import react_nativeDefault from "react-native" /* 1354 */;
import size from "module_2" /* 2 */;
2026-07-23 10:11:24 +00:00
const result = size.fileFinishedImporting("utils/native/ClientInfoUtils.tsx");
2026-07-20 16:05:17 +00:00
export const getConstants = function getConstants() {
2026-10-03 08:58:59 +00:00
const obj = react_nativeDefault;
return obj.getConstants();
2026-07-20 16:05:17 +00:00
};
export const getBuildNumberLabel = function getBuildNumberLabel() {
2026-07-23 10:11:24 +00:00
const items = ["0", "123456", "1234567890"];
2026-10-05 08:00:40 +00:00
let str = "35020000000000";
if (items.includes("35020000000000")) {
2026-07-20 16:05:17 +00:00
const _HermesInternal = HermesInternal;
2026-10-05 08:00:40 +00:00
str = "dev (" + "35020000000000" + ")";
2026-07-20 16:05:17 +00:00
}
return str;
};