35 lines
2 KiB
TypeScript
35 lines
2 KiB
TypeScript
// Module ID: 1554
|
|
// Function ID: 17593
|
|
// Name: getConstants
|
|
// Dependencies: []
|
|
// Exports: getBuildNumberLabel, getConstants
|
|
|
|
// Module 1554 (getConstants)
|
|
const NativeModules = require(dependencyMap[0]).NativeModules;
|
|
const _module = require(dependencyMap[3]);
|
|
const result = _module.fileFinishedImporting("utils/native/ClientInfoUtils.tsx");
|
|
|
|
export const getConstants = function getConstants() {
|
|
if (obj.isAndroid()) {
|
|
if (null === importDefault(dependencyMap[2])) {
|
|
const _Error = Error;
|
|
const error = new Error("Turbo module RTNClientInfoManager is undefined for Android");
|
|
throw error;
|
|
} else {
|
|
return importDefault(dependencyMap[2]).getConstants();
|
|
}
|
|
} else {
|
|
const InfoDictionaryManager = NativeModules.InfoDictionaryManager;
|
|
return InfoDictionaryManager.getConstants();
|
|
}
|
|
const obj = require(dependencyMap[1]);
|
|
};
|
|
export const getBuildNumberLabel = function getBuildNumberLabel() {
|
|
const items = [0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000729112203167827, 0.00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000414452303, 0.00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000529462817];
|
|
let str = "6046";
|
|
if (items.includes("6046")) {
|
|
const _HermesInternal = HermesInternal;
|
|
str = "dev (" + "6046" + ")";
|
|
}
|
|
return str;
|
|
};
|