You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: apps/ExampleApp/app/app.tsx
+7-5
Original file line number
Diff line number
Diff line change
@@ -55,7 +55,7 @@ const config = {
55
55
}
56
56
57
57
interfaceAppProps{
58
-
hideSplashScreen: ()=>Promise<boolean>
58
+
hideSplashScreen: ()=>Promise<void>
59
59
}
60
60
61
61
/**
@@ -76,10 +76,12 @@ function App(props: AppProps) {
76
76
const{ rehydrated }=useInitialRootStore(()=>{
77
77
// This runs after the root store has been initialized and rehydrated.
78
78
79
-
// If your initialization scripts run very fast, it's good to show the splash screen for just a bit longer to prevent flicker.
80
-
// Slightly delaying splash screen hiding for better UX; can be customized or removed as needed,
81
-
// Note: (vanilla Android) The splash-screen will not appear if you launch your app via the terminal or Android Studio. Kill the app and launch it normally by tapping on the launcher icon. https://stackoverflow.com/a/69831106
82
-
// Note: (vanilla iOS) You might notice the splash-screen logo change size. This happens in debug/development mode. Try building the app for release.
79
+
// If your initialization scripts run very fast, it's good to show the splash screen for just a bit longer to
80
+
// prevent flicker. Slightly delaying splash screen hiding for better UX; can be customized or removed as needed,
81
+
// Note: (vanilla Android) The splash-screen will not appear if you launch your app via the terminal or Android
82
+
// Studio. Kill the app and launch it normally by tapping on the launcher icon.
83
+
// https://stackoverflow.com/a/69831106 Note: (vanilla iOS) You might notice the splash-screen logo change size.
84
+
// This happens in debug/development mode. Try building the app for release.
0 commit comments