decord/source/utils/native/ClientInfoUtils.tsx
2026-08-25 06:04:03 +00:00

40 lines
1.2 KiB
TypeScript

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