bsky-social-app/index.js
dan e2a7965e43
Gate bitdrift integration (#7088)
* Move Statsig init call earlier

* Gate Bitdrift init call

* Remove IS_TEST env constant

* Mock statsig
2024-12-13 17:14:41 +00:00

19 lines
616 B
JavaScript

import 'react-native-gesture-handler' // must be first
import '#/platform/polyfills'
import {LogBox} from 'react-native'
import {registerRootComponent} from 'expo'
import App from '#/App'
if (process.env.NODE_ENV === 'test') {
LogBox.ignoreAllLogs() // suppress all logs in tests
} else {
LogBox.ignoreLogs(['Require cycle:']) // suppress require-cycle warnings, it's fine
}
// registerRootComponent calls AppRegistry.registerComponent('main', () => App);
// It also ensures that whether you load the app in Expo Go or in a native build,
// the environment is set up appropriately
registerRootComponent(App)