| 1 | import { registerRootComponent } from "expo"; |
| 2 | import "react-native-gesture-handler"; |
| 3 | import { LogBox } from "react-native"; |
| 4 | import { featureFlags } from "react-native-screens"; |
| 5 | |
| 6 | import App from "./src/App"; |
| 7 | |
| 8 | // Required for react-native-screens' iOS FormSheet sizing fix when a nested |
| 9 | // native stack is rendered inside a non-fitToContents formSheet. |
| 10 | featureFlags.experiment.synchronousScreenUpdatesEnabled = true; |
| 11 | |
| 12 | if (process.env.EXPO_PUBLIC_SHOWCASE === "1") { |
| 13 | LogBox.ignoreAllLogs(); |
| 14 | } |
| 15 | |
| 16 | registerRootComponent(App); |