diff --git a/apps/mobile/app/utils/constants.ts b/apps/mobile/app/utils/constants.ts index c7b27e0bf..2b948b7da 100644 --- a/apps/mobile/app/utils/constants.ts +++ b/apps/mobile/app/utils/constants.ts @@ -18,12 +18,13 @@ along with this program. If not, see . */ import { Platform } from "react-native"; +import { getVersion } from "react-native-device-info"; export const IOS_APPGROUPID = "group.org.streetwriters.notesnook"; export const FILE_SIZE_LIMIT = 500 * 1024 * 1024; export const IMAGE_SIZE_LIMIT = 50 * 1024 * 1024; -export const BETA = false; +export const BETA = getVersion().includes("beta"); export const STORE_LINK = Platform.OS === "ios"