2026-09-05 10:56:28 +00:00
|
|
|
// Module ID: 1364
|
|
|
|
|
// Function ID: 1365
|
2026-09-10 05:38:07 +00:00
|
|
|
// Name: ClientInfoUtils
|
2026-09-05 10:56:28 +00:00
|
|
|
// Dependencies: [17, 1115, 1344, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: getBuildNumberLabel, getConstants
|
|
|
|
|
|
2026-09-10 05:38:07 +00:00
|
|
|
// Module 1364 (ClientInfoUtils)
|
|
|
|
|
import _mod17 from "module_17" /* 17 */;
|
|
|
|
|
import PlatformUtils from "PlatformUtils" /* 1115 */;
|
|
|
|
|
import NativeClientInfoModuleDefault from "NativeClientInfoModule" /* 1344 */;
|
|
|
|
|
import size from "module_2" /* 2 */;
|
2026-07-23 10:11:24 +00:00
|
|
|
|
2026-09-10 05:38:07 +00:00
|
|
|
const NativeModules = _mod17.NativeModules;
|
|
|
|
|
const result = size.fileFinishedImporting("utils/native/ClientInfoUtils.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export const getConstants = function getConstants() {
|
|
|
|
|
if (obj.isAndroid()) {
|
2026-09-10 05:38:07 +00:00
|
|
|
if (null === NativeClientInfoModuleDefault) {
|
2026-07-20 16:05:17 +00:00
|
|
|
const _Error = Error;
|
2026-09-10 05:38:07 +00:00
|
|
|
const error = new Error("Turbo module RTNClientInfoManager is undefined for Android");
|
2026-07-20 16:05:17 +00:00
|
|
|
throw error;
|
|
|
|
|
} else {
|
2026-09-05 10:56:28 +00:00
|
|
|
return tmp3(1344).getConstants();
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
2026-07-29 08:29:29 +00:00
|
|
|
tmp3 = importDefault;
|
2026-07-20 16:05:17 +00:00
|
|
|
} else {
|
|
|
|
|
const InfoDictionaryManager = NativeModules.InfoDictionaryManager;
|
|
|
|
|
return InfoDictionaryManager.getConstants();
|
|
|
|
|
}
|
2026-09-10 05:38:07 +00:00
|
|
|
obj = PlatformUtils;
|
2026-07-20 16:05:17 +00:00
|
|
|
};
|
|
|
|
|
export const getBuildNumberLabel = function getBuildNumberLabel() {
|
2026-07-23 10:11:24 +00:00
|
|
|
const items = ["0", "123456", "1234567890"];
|
2026-09-11 10:30:06 +00:00
|
|
|
let str = "6399";
|
|
|
|
|
if (items.includes("6399")) {
|
2026-07-20 16:05:17 +00:00
|
|
|
const _HermesInternal = HermesInternal;
|
2026-09-11 10:30:06 +00:00
|
|
|
str = "dev (" + "6399" + ")";
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
return str;
|
|
|
|
|
};
|