A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
mobile: fix beta release getting update dialog prompt
Ammar Ahmed3eab773fd12f
diff --git a/apps/mobile/app/utils/constants.ts b/apps/mobile/app/utils/constants.tsindex 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 <http://www.gnu.org/licenses/>.*/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"