···33export const BUILD_ENV = process.env.EXPO_PUBLIC_ENV
44export const IS_DEV = process.env.EXPO_PUBLIC_ENV === 'development'
55export const IS_TESTFLIGHT = process.env.EXPO_PUBLIC_ENV === 'testflight'
66+export const IS_INTERNAL = IS_DEV || IS_TESTFLIGHT
6778// This is the commit hash that the current bundle was made from. The user can see the commit hash in the app's settings
89// along with the other version info. Useful for debugging/reporting.
+2-2
src/lib/statsig/gates.ts
···11export type Gate =
22 // Keep this alphabetic please.
33- | 'debug_show_feedcontext'
44- | 'post_feed_lang_window'
33+ | 'debug_show_feedcontext' // DISABLED DUE TO EME
44+ | 'post_feed_lang_window' // DISABLED DUE TO EME
55 | 'suggested_feeds_interstitial'
+6-1
src/state/session/logging.ts
···22import {sha256} from 'js-sha256'
33import {Statsig} from 'statsig-react-native-expo'
4455+import {IS_INTERNAL} from '#/lib/app-info'
56import {Schema} from '../persisted'
67import {Action, State} from './reducer'
78import {SessionAccount} from './types'
···9394 // Drop these logs for now.
9495 return
9596 }
9696- if (!Statsig.checkGate('debug_session')) {
9797+ // DISABLING THIS GATE DUE TO EME @TODO EME-GATE
9898+ if (!IS_INTERNAL) {
9799 return
98100 }
101101+ // if (!Statsig.checkGate('debug_session')) {
102102+ // return
103103+ // }
99104 const messageIndex = nextMessageIndex++
100105 const {type, ...content} = log
101106 let payload = JSON.stringify(content, replacer)
+2-3
src/view/com/util/post-ctrls/PostCtrls.tsx
···1717import {msg, plural} from '@lingui/macro'
1818import {useLingui} from '@lingui/react'
19192020+import {IS_INTERNAL} from '#/lib/app-info'
2021import {POST_CTRL_HITSLOP} from '#/lib/constants'
2122import {CountWheel} from '#/lib/custom-animations/CountWheel'
2223import {AnimatedLikeIcon} from '#/lib/custom-animations/LikeIcon'
2324import {useHaptics} from '#/lib/haptics'
2425import {makeProfileLink} from '#/lib/routes/links'
2526import {shareUrl} from '#/lib/sharing'
2626-import {useGate} from '#/lib/statsig/statsig'
2727import {toShareUrl} from '#/lib/strings/url-helpers'
2828import {Shadow} from '#/state/cache/types'
2929import {useFeedFeedbackContext} from '#/state/feed-feedback'
···8585 const {sendInteraction} = useFeedFeedbackContext()
8686 const {captureAction} = useProgressGuideControls()
8787 const playHaptic = useHaptics()
8888- const gate = useGate()
8988 const isBlocked = Boolean(
9089 post.author.viewer?.blocking ||
9190 post.author.viewer?.blockedBy ||
···375374 threadgateRecord={threadgateRecord}
376375 />
377376 </View>
378378- {gate('debug_show_feedcontext') && feedContext && (
377377+ {IS_INTERNAL && feedContext && (
379378 <Pressable
380379 accessible={false}
381380 style={{