decord/source/utils/ReleaseChannelUtils.native.tsx

32 lines
959 B
TypeScript
Raw Normal View History

// Module ID: 7705
// Function ID: 7706
// Name: ReleaseChannelUtils
// Dependencies: [1364, 1150, 2]
2026-07-21 22:01:30 +00:00
// Module 7705 (ReleaseChannelUtils)
import ClientInfoUtils from "ClientInfoUtils" /* 1364 */;
2026-07-23 10:11:24 +00:00
const ReleaseChannel = ClientInfoUtils.getConstants().ReleaseChannel;
let PlatformUtils = fn(1150);
PlatformUtils = PlatformUtils.isAndroid();
if (PlatformUtils) {
PlatformUtils = -1 === ReleaseChannel.indexOf("canary");
2026-07-20 16:05:17 +00:00
}
if (PlatformUtils) {
PlatformUtils = -1 === ReleaseChannel.indexOf("beta");
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
let tmp3 = -1 !== ReleaseChannel.indexOf("debug");
if (!tmp3) {
tmp3 = -1 !== ReleaseChannel.indexOf("developer");
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
let tmp4 = !tmp3;
if (!tmp3) {
tmp4 = "stable" === ReleaseChannel || PlatformUtils;
const tmp5 = "stable" === ReleaseChannel || PlatformUtils;
2026-07-20 16:05:17 +00:00
}
const size = fn(2);
const result = size.fileFinishedImporting("utils/ReleaseChannelUtils.native.tsx");
2026-07-20 16:05:17 +00:00
2026-07-29 08:29:29 +00:00
export const isStable = tmp4;
2026-07-20 16:05:17 +00:00
export const CurrentReleaseChannel = ReleaseChannel;