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 }