decord/source/utils/native/ClientInfoUtils.tsx
github-actions 7450227d0b chore: update source for alpha 345.4
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9596_m.js (380.6 MB)
2026-09-04 17:41:35 +00:00

40 lines
1.2 KiB
TypeScript

// Module ID: 1624
// Function ID: 1625
// Name: getConstants
// Dependencies: [17, 1234, 669, 2]
// Exports: getBuildNumberLabel, getConstants
// Module 1624 (getConstants)
import set from "set" /* 2 */;
import get_ActivityIndicator from "get ActivityIndicator" /* 17 */;
import enforcingDefault from "enforcing" /* 669 */;
import set2 from "set" /* 1234 */;
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(669).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 = "6352";
if (items.includes("6352")) {
const _HermesInternal = HermesInternal;
str = "dev (" + "6352" + ")";
}
return str;
};