Simpler fix
This commit is contained in:
+1
-1
@@ -1,7 +1,7 @@
|
||||
import {nativeApplicationVersion, nativeBuildVersion} from 'expo-application'
|
||||
|
||||
export const BUILD_ENV = process.env.EXPO_PUBLIC_ENV || 'development'
|
||||
export const IS_DEV = process.env.EXPO_PUBLIC_ENV !== 'production'
|
||||
export const IS_DEV = BUILD_ENV === 'development'
|
||||
export const IS_TESTFLIGHT = process.env.EXPO_PUBLIC_ENV === 'testflight'
|
||||
export const IS_INTERNAL = IS_DEV || IS_TESTFLIGHT
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import {version} from '../../package.json'
|
||||
|
||||
export const BUILD_ENV = process.env.EXPO_PUBLIC_ENV || 'development'
|
||||
export const IS_DEV = process.env.EXPO_PUBLIC_ENV !== 'production'
|
||||
export const IS_DEV = BUILD_ENV === 'development'
|
||||
export const IS_TESTFLIGHT = false
|
||||
export const IS_INTERNAL = IS_DEV
|
||||
|
||||
|
||||
Reference in New Issue
Block a user