about summary refs log tree commit diff
path: root/src/lib
diff options
context:
space:
mode:
authorHailey <me@haileyok.com>2024-10-17 12:54:05 -0700
committerGitHub <noreply@github.com>2024-10-17 12:54:05 -0700
commite9be8f4574ad5e2da145b24a2af4258fd4d7769a (patch)
treedf93413d85e3ce2f9580390033df9115957eb1cd /src/lib
parent0d5af050d3c90172a07486961ea1180b240813ef (diff)
downloadvoidsky-e9be8f4574ad5e2da145b24a2af4258fd4d7769a.tar.zst
Disable feed debug gate due to EME (#5815)
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/app-info.ts1
-rw-r--r--src/lib/statsig/gates.ts4
2 files changed, 3 insertions, 2 deletions
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'