Enable updates for production behind receive_updates gate (#3496)

* add gate type

* gate the updates

* enable updates in `production`

* web placeholder for `useOTAUpdates()`

* update comment
This commit is contained in:
Hailey 2024-04-12 14:51:53 -07:00 committed by GitHub
parent 1f587ea4b6
commit f91aa37c6b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 49 additions and 40 deletions

View file

@ -19,7 +19,6 @@ import {init as initPersistedState} from '#/state/persisted'
import * as persisted from '#/state/persisted'
import {Provider as LabelDefsProvider} from '#/state/preferences/label-defs'
import {useIntentHandler} from 'lib/hooks/useIntentHandler'
import {useOTAUpdates} from 'lib/hooks/useOTAUpdates'
import {useNotificationsListener} from 'lib/notifications/notifications'
import {QueryProvider} from 'lib/react-query'
import {s} from 'lib/styles'
@ -58,7 +57,6 @@ function InnerApp() {
const {_} = useLingui()
useIntentHandler()
useOTAUpdates()
// init
useEffect(() => {