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

23 lines
956 B
TypeScript
Raw Normal View History

// Module ID: 5180
// Function ID: 5181
// Name: ReleaseChannelUtils
// Dependencies: [1363, 1364, 2]
// Module 5180 (ReleaseChannelUtils)
2026-10-01 14:13:23 +00:00
import react_native from "react-native" /* 1363 */;
import PlatformUtils_mod from "PlatformUtils" /* 1364 */;
import size from "module_2" /* 2 */;
2026-10-01 14:13:23 +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;
}
const result = size.fileFinishedImporting("utils/ReleaseChannelUtils.native.tsx");
export const isStable = tmp4;
export const CurrentReleaseChannel = ReleaseChannel;