Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

mobile: do not send request to play.google.com in github release

ammarahm-eda85518d49723
diff --git a/apps/mobile/app/components/launcher/index.js b/apps/mobile/app/components/launcher/index.js
index 81aa2b548..5708e5a2e 100644
--- a/apps/mobile/app/components/launcher/index.js
+++ b/apps/mobile/app/components/launcher/index.js
@@ -55,6 +55,7 @@ import { SvgView } from "../ui/svg";
import Heading from "../ui/typography/heading";
import Paragraph from "../ui/typography/paragraph";
import { Walkthrough } from "../walkthroughs";
+import { Config } from "react-native-config";
const Launcher = React.memo(
function Launcher() {
@@ -164,7 +165,7 @@ const Launcher = React.memo(
}, [introCompleted]);
const checkAppUpdateAvailable = async () => {
- if (__DEV__) return;
+ if (__DEV__ || Config.GITHUB_RELEASE === "true") return;
try {
const version = await checkVersion();
if (!version.needsUpdate) return false;