decord/beta/source/utils/ReleaseChannelUtils.native.tsx
github-actions 9b6fea255e chore: update source for beta 346.12
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4821.js (118.4 MB)
2026-09-18 19:45:33 +00:00

31 lines
959 B
TypeScript

// Module ID: 7705
// Function ID: 7706
// Name: ReleaseChannelUtils
// Dependencies: [1362, 1363, 2]
// Module 7705 (ReleaseChannelUtils)
import ClientInfoUtils from "ClientInfoUtils" /* 1362 */;
const ReleaseChannel = ClientInfoUtils.getConstants().ReleaseChannel;
let PlatformUtils = fn(1363);
PlatformUtils = PlatformUtils.isAndroid();
if (PlatformUtils) {
PlatformUtils = -1 === ReleaseChannel.indexOf("canary");
}
if (PlatformUtils) {
PlatformUtils = -1 === ReleaseChannel.indexOf("beta");
}
let tmp3 = -1 !== ReleaseChannel.indexOf("debug");
if (!tmp3) {
tmp3 = -1 !== ReleaseChannel.indexOf("developer");
}
let tmp4 = !tmp3;
if (!tmp3) {
tmp4 = "stable" === ReleaseChannel || PlatformUtils;
const tmp5 = "stable" === ReleaseChannel || PlatformUtils;
}
const size = fn(2);
const result = size.fileFinishedImporting("utils/ReleaseChannelUtils.native.tsx");
export const isStable = tmp4;
export const CurrentReleaseChannel = ReleaseChannel;