decord/source/utils/native/ClientInfoUtils.tsx
github-actions cd74c1f217 chore: update source for alpha 345.5
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9667_m.js (378 MB)
2026-09-05 10:56:28 +00:00

40 lines
1.2 KiB
TypeScript

// Module ID: 1364
// Function ID: 1365
// Name: getConstants
// Dependencies: [17, 1115, 1344, 2]
// Exports: getBuildNumberLabel, getConstants
// Module 1364 (getConstants)
import set from "set" /* 2 */;
import get_ActivityIndicator from "get ActivityIndicator" /* 17 */;
import set2 from "set" /* 1115 */;
import enforcingDefault from "enforcing" /* 1344 */;
const NativeModules = get_ActivityIndicator.NativeModules;
const result = set.fileFinishedImporting("utils/native/ClientInfoUtils.tsx");
export const getConstants = function getConstants() {
if (obj.isAndroid()) {
if (null === enforcingDefault) {
const _Error = Error;
error = new Error("Turbo module RTNClientInfoManager is undefined for Android");
throw error;
} else {
return tmp3(1344).getConstants();
}
tmp3 = importDefault;
} else {
const InfoDictionaryManager = NativeModules.InfoDictionaryManager;
return InfoDictionaryManager.getConstants();
}
obj = set2;
};
export const getBuildNumberLabel = function getBuildNumberLabel() {
const items = ["0", "123456", "1234567890"];
let str = "6365";
if (items.includes("6365")) {
const _HermesInternal = HermesInternal;
str = "dev (" + "6365" + ")";
}
return str;
};