decord/source/utils/native/ClientInfoUtils.tsx
2026-08-06 08:05:19 +00:00

36 lines
1.1 KiB
TypeScript

// Module ID: 1606
// Function ID: 1607
// Name: getConstants
// Dependencies: [17, 500, 672, 2]
// Exports: getBuildNumberLabel, getConstants
// Module 1606 (getConstants)
import { NativeModules } from "get ActivityIndicator";
const result = require("enforcing").fileFinishedImporting("utils/native/ClientInfoUtils.tsx");
export const getConstants = function getConstants() {
if (obj.isAndroid()) {
if (null === importDefault(672)) {
const _Error = Error;
const 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 = require(500) /* set */;
};
export const getBuildNumberLabel = function getBuildNumberLabel() {
const items = ["0", "123456", "1234567890"];
let str = "6165";
if (items.includes("6165")) {
const _HermesInternal = HermesInternal;
str = "dev (" + "6165" + ")";
}
return str;
};