remove gate from updates (#3646)
This commit is contained in:
parent
0e3a13b6df
commit
243769e657
2 changed files with 1 additions and 4 deletions
|
@ -12,7 +12,6 @@ import {
|
|||
|
||||
import {logger} from '#/logger'
|
||||
import {IS_TESTFLIGHT} from 'lib/app-info'
|
||||
import {useGate} from 'lib/statsig/statsig'
|
||||
import {isIOS} from 'platform/detection'
|
||||
|
||||
const MINIMUM_MINIMIZE_TIME = 15 * 60e3
|
||||
|
@ -31,8 +30,7 @@ async function setExtraParams() {
|
|||
}
|
||||
|
||||
export function useOTAUpdates() {
|
||||
const gate = useGate()
|
||||
const shouldReceiveUpdates = isEnabled && !__DEV__ && gate('receive_updates')
|
||||
const shouldReceiveUpdates = isEnabled && !__DEV__
|
||||
|
||||
const appState = React.useRef<AppStateStatus>('active')
|
||||
const lastMinimize = React.useRef(0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue