2026-10-01 06:55:13 +00:00
|
|
|
// Module ID: 17355
|
|
|
|
|
// Function ID: 17356
|
2026-09-10 05:38:07 +00:00
|
|
|
// Name: AppInfoUtils
|
2026-09-15 14:23:42 +00:00
|
|
|
// Dependencies: [1363, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: getAppMajorVersion
|
|
|
|
|
|
2026-10-01 06:55:13 +00:00
|
|
|
// Module 17355 (AppInfoUtils)
|
2026-09-15 14:23:42 +00:00
|
|
|
import ClientInfoUtils from "ClientInfoUtils" /* 1363 */;
|
2026-09-10 05:38:07 +00:00
|
|
|
import size from "module_2" /* 2 */;
|
2026-07-23 10:11:24 +00:00
|
|
|
|
2026-09-10 05:38:07 +00:00
|
|
|
const constants = ClientInfoUtils.getConstants();
|
|
|
|
|
const result = size.fileFinishedImporting("utils/native/AppInfoUtils.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export const getAppMajorVersion = function getAppMajorVersion() {
|
2026-08-24 06:08:38 +00:00
|
|
|
if (undefined === closure_0) {
|
2026-07-20 16:05:17 +00:00
|
|
|
return -1;
|
|
|
|
|
} else {
|
2026-07-29 08:29:29 +00:00
|
|
|
const parts = tmp.Version.split(".");
|
2026-07-20 16:05:17 +00:00
|
|
|
let num = -1;
|
|
|
|
|
if (2 === parts.length) {
|
|
|
|
|
const _Number = Number;
|
|
|
|
|
num = Number(parts[0]);
|
|
|
|
|
}
|
|
|
|
|
return num;
|
|
|
|
|
}
|
|
|
|
|
};
|