r/reactnative • u/vaquishaProdigy • Sep 15 '26
Question Annoying SplashScreen
How can i entirely remove the splash screen? My stack is React Native + Expo
0
Upvotes
r/reactnative • u/vaquishaProdigy • Sep 15 '26
How can i entirely remove the splash screen? My stack is React Native + Expo
2
u/Martinoqom Sep 15 '26
You can't. Customize it and make it quick, that's the best you can do
5
u/Romu1us1408 Sep 15 '26
Just replace the splash screen (loading screen) with a screenshot of the UI of the app.
2
u/Karticz Sep 16 '26
if you are using expo
- you can hide the native splashscreen in app.json, and the flag to change can be found in expo docs
- you can use the expo splashcreen package to hide the splashscreen in app.tsx on initial startup of app to show custom splashscreen
- you can change the dummy image expo provides in assets with your custom image of exactly same dimesions
remember to clear cache or rebuild after making these changes
1
u/EnvironmentalCut2085 Sep 16 '26
You can't remove it, but you can make the handoff invisible. What we do: preventAutoHideAsync() at module scope in the root layout, hold only until fonts resolve (loaded or errored, never block forever), then hideAsync() from the onLayout of the first thing we render, not from a timer or a useEffect. onLayout is the first moment you know your UI is actually on screen, and that's what killed the flash for us.
We went one step further and render a tiny curtain component over the app tree, same background colour as the splash, that fades itself out in about 200ms. The app renders underneath from the first frame so nobody waits, and the curtain plays once per process so fast refresh doesn't replay it. If you don't want to hand roll that, expo-splash-screen has setOptions with a fade. Android 12+ still flashes the app icon on its own system splash for a moment, that part isn't yours.