From 1620963863b95ca57f414d4c824e053050906296 Mon Sep 17 00:00:00 2001 From: xmflsct Date: Wed, 17 Aug 2022 14:14:18 +0200 Subject: [PATCH] Seems like it is still not using EAS updates?! --- src/utils/checkEnvironment.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/utils/checkEnvironment.ts b/src/utils/checkEnvironment.ts index b35e0483..a60babf4 100644 --- a/src/utils/checkEnvironment.ts +++ b/src/utils/checkEnvironment.ts @@ -36,14 +36,14 @@ const mapEnvironment = ({ const isDevelopment = __DEV__ || - ['development'].some(channel => Updates.channel === channel) + ['development'].some(channel => (Updates.channel || Updates.releaseChannel) === channel) const isCandidate = ['candidate'].some(channel => - Updates.channel === channel + (Updates.channel || Updates.releaseChannel) === channel ) const isRelease = ['release'].some(channel => - Updates.channel === channel + (Updates.channel || Updates.releaseChannel) === channel ) export { mapEnvironment, isDevelopment, isCandidate, isRelease }