diff --git a/src/libs/Environment/getEnvironment/index.native.ts b/src/libs/Environment/getEnvironment/index.native.ts index 5dac0ad1d73e..6d298c3fdae9 100644 --- a/src/libs/Environment/getEnvironment/index.native.ts +++ b/src/libs/Environment/getEnvironment/index.native.ts @@ -1,4 +1,3 @@ -import {NativeModules} from 'react-native'; import Config from 'react-native-config'; import betaChecker from '@libs/Environment/betaChecker'; import CONST from '@src/CONST'; @@ -29,12 +28,6 @@ function getEnvironment(): Promise { return; } - // If we don't use Development, and we're in the HybridApp, we should use Production - if (NativeModules.HybridAppModule) { - environment = CONST.ENVIRONMENT.PRODUCTION; - return; - } - // If we haven't set the environment yet and we aren't on dev/adhoc, check to see if this is a beta build betaChecker.isBetaBuild().then((isBeta) => { environment = isBeta ? CONST.ENVIRONMENT.STAGING : CONST.ENVIRONMENT.PRODUCTION;