decord/beta/source/utils/ReleaseChannelUtils.native.tsx
2026-10-12 16:32:48 +00:00

22 lines
956 B
TypeScript

// Module ID: 5730
// Function ID: 5731
// Name: ReleaseChannelUtils
// Dependencies: [1381, 1382, 2]
// Module 5730 (ReleaseChannelUtils)
import react_native from "react-native" /* 1381 */;
import PlatformUtils_mod from "PlatformUtils" /* 1382 */;
import size from "module_2" /* 2 */;
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;
}
const result = size.fileFinishedImporting("utils/ReleaseChannelUtils.native.tsx");
export const isStable = tmp4;
export const CurrentReleaseChannel = ReleaseChannel;