Open History to see the last commit
1// Must stay first: the render counter and behavior probe wrap the DevTools hook before any React commit.
2import "./src/features/development/render-counter-entry";
3import "./src/features/development/behavior-probe-entry";
4// Crash reporting loads preferences, which can load GT and capture Hermes's Intl constructors.
5import "./src/i18n/intl-polyfills";
6// Record errors thrown while the rest of the app loads.
7import "./src/features/observability/observe";
8import { registerRootComponent } from "expo";
9import "react-native-gesture-handler";
10import { LogBox } from "react-native";
11import { featureFlags } from "react-native-screens";
12
13import App from "./src/App";
14
15// Enables iOS FormSheet sizing for nested native stacks in non-fitToContents sheets.
16featureFlags.experiment.synchronousScreenUpdatesEnabled = true;
17
18if (process.env.EXPO_PUBLIC_SHOWCASE === "1") {
19 LogBox.ignoreAllLogs();
20}
21
22registerRootComponent(App);