decord/alpha/source/utils/ReleaseChannelUtils.native.tsx

23 lines
956 B
TypeScript
Raw Permalink Normal View History

2026-10-10 08:08:14 +00:00
// Module ID: 5730
// Function ID: 5731
// Name: ReleaseChannelUtils
2026-10-09 10:00:15 +00:00
// Dependencies: [1381, 1382, 2]
2026-07-21 22:01:30 +00:00
2026-10-10 08:08:14 +00:00
// Module 5730 (ReleaseChannelUtils)
2026-10-09 10:00:15 +00:00
import react_native from "react-native" /* 1381 */;
import PlatformUtils_mod from "PlatformUtils" /* 1382 */;
2026-10-03 08:58:59 +00:00
import size from "module_2" /* 2 */;
2026-07-23 10:11:24 +00:00
2026-10-03 08:58:59 +00:00
const ReleaseChannel = react_native.getConstants().ReleaseChannel;
let PlatformUtils = PlatformUtils_mod;
PlatformUtils = PlatformUtils.isAndroid() && -1 === ReleaseChannel.indexOf("canary") && -1 === ReleaseChannel.indexOf("beta");
let tmp4 = !(-1 !== ReleaseChannel.indexOf("debug") || -1 !== ReleaseChannel.indexOf("developer"));
const tmp3 = -1 !== ReleaseChannel.indexOf("debug") || -1 !== ReleaseChannel.indexOf("developer");
if (tmp4) {
tmp4 = "stable" === ReleaseChannel || PlatformUtils;
2026-07-20 16:05:17 +00:00
}
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;