fork
Configure Feed
Select the types of activity you want to include in your feed.
mirror of https://git.lenooby09.tech/LeNooby09/social-app.git
fork
Configure Feed
Select the types of activity you want to include in your feed.
1import 'react-native-gesture-handler' // must be first
2import {LogBox} from 'react-native'
3
4import '#/platform/polyfills'
5import {IS_TEST} from '#/env'
6import {registerRootComponent} from 'expo'
7import {doPolyfill} from '#/lib/api/api-polyfill'
8
9import App from '#/App'
10
11doPolyfill()
12
13if (IS_TEST) {
14 LogBox.ignoreAllLogs() // suppress all logs in tests
15} else {
16 LogBox.ignoreLogs(['Require cycle:']) // suppress require-cycle warnings, it's fine
17}
18
19// registerRootComponent calls AppRegistry.registerComponent('main', () => App);
20// It also ensures that whether you load the app in Expo Go or in a native build,
21// the environment is set up appropriately
22registerRootComponent(App)