From e9be8f4574ad5e2da145b24a2af4258fd4d7769a Mon Sep 17 00:00:00 2001 From: Hailey Date: Thu, 17 Oct 2024 12:54:05 -0700 Subject: Disable feed debug gate due to EME (#5815) --- src/lib/app-info.ts | 1 + src/lib/statsig/gates.ts | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'src/lib') diff --git a/src/lib/app-info.ts b/src/lib/app-info.ts index 729881aca..4da70d75d 100644 --- a/src/lib/app-info.ts +++ b/src/lib/app-info.ts @@ -3,6 +3,7 @@ import {nativeApplicationVersion, nativeBuildVersion} from 'expo-application' export const BUILD_ENV = process.env.EXPO_PUBLIC_ENV export const IS_DEV = process.env.EXPO_PUBLIC_ENV === 'development' export const IS_TESTFLIGHT = process.env.EXPO_PUBLIC_ENV === 'testflight' +export const IS_INTERNAL = IS_DEV || IS_TESTFLIGHT // This is the commit hash that the current bundle was made from. The user can see the commit hash in the app's settings // along with the other version info. Useful for debugging/reporting. diff --git a/src/lib/statsig/gates.ts b/src/lib/statsig/gates.ts index 866d87aef..715e09be7 100644 --- a/src/lib/statsig/gates.ts +++ b/src/lib/statsig/gates.ts @@ -1,5 +1,5 @@ export type Gate = // Keep this alphabetic please. - | 'debug_show_feedcontext' - | 'post_feed_lang_window' + | 'debug_show_feedcontext' // DISABLED DUE TO EME + | 'post_feed_lang_window' // DISABLED DUE TO EME | 'suggested_feeds_interstitial' -- cgit 1.4.1