File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 11import "@expo/metro-runtime"
2+ import { registerRootComponent } from "expo"
23import * as SplashScreen from "expo-splash-screen"
34import App from "@/app"
45
@@ -8,4 +9,7 @@ function IgniteApp() {
89 return < App hideSplashScreen = { SplashScreen . hideAsync } />
910}
1011
11- export default IgniteApp
12+ // registerRootComponent calls AppRegistry.registerComponent('main', () => App);
13+ // It also ensures that whether you load the app in Expo Go or in a native build,
14+ // the environment is set up appropriately
15+ registerRootComponent ( IgniteApp )
Original file line number Diff line number Diff line change 22 "name" : " hello-world" ,
33 "version" : " 0.0.1" ,
44 "private" : true ,
5- "main" : " expo/AppEntry.js " ,
5+ "main" : " App.tsx " ,
66 "scripts" : {
77 "compile" : " tsc --noEmit -p . --pretty" ,
88 "format" : " eslint . --fix" ,
You can’t perform that action at this time.
0 commit comments