10 lines
531 B
TypeScript
10 lines
531 B
TypeScript
// Metro module 5868 (f5869).
|
|
import { getConstants } from "./native/ClientInfoUtils";
|
|
import { isAndroid } from "./PlatformUtils";
|
|
const ReleaseChannel = getConstants().ReleaseChannel;
|
|
const r22 = isAndroid() && ReleaseChannel.indexOf("canary") === -1 && ReleaseChannel.indexOf("beta") === -1;
|
|
const r1 = ReleaseChannel.indexOf("debug") !== -1 || ReleaseChannel.indexOf("developer") !== -1;
|
|
const r37 = r1 ? !r1 : ReleaseChannel === "stable" || r22;
|
|
export { r37 as isStable };
|
|
export { ReleaseChannel as CurrentReleaseChannel };
|