Open jaworskimatt opened 1 month ago
same, it's working in Debug mode tho.
same in bare workflow
in this example I prevent the splash screen from hiding with SplashScreen.preventAutoHideAsync()
and add an 5s simulated promise. In meanwhile the splash screen hide and appears a black screen.
It's expected to the splash screen appear while the promise is loaded.
https://github.com/user-attachments/assets/64e87fc6-7495-45d3-9e1c-460465eddba8
I have the same problem with bare workflow...
I'm having the same issue as well !
I’m experiencing the same problem.
Using expo-splash-screen v.0.27.5 solve the problem
Confirmed, using Expo 0.27.5 resolves the issue, thank you @rsoaresdev !
expo-splash-screen v.0.27.5 solve this problem but v.0.27.6 have same problem.
expo-splash-screen v.0.27.5 solve this problem but v.0.27.6 have same problem.
That's why I said to downgrade to expo-splash-screen v.0.27.5 till next version (0.27.7)
Android expo-splash-screen v.0.27.6 with experimental delay 2 sec. splash blinked in 0.3s then white screen for 1.7s and app is starting...
That is really wrong.
I had the exact same issue you’re describing. You need to downgrade to version 0.27.5 until 0.27.7 is released with a fix.
In the meantime, simply run:
npx expo install expo-splash-screen@0.27.5
And the problem should be resolved. 🙂
@jaworskimatt hey the latest version is 0.29.9
, can you check is this fixed?
@SanjayDevTech @jaworskimatt Tested on 0.29.10 and same issue. The only fix was to downgrade to 0.27.5.
I'm seeing this issue as well on bare project, very annoying for dev. Using 0.27.5
and 0.29.11
:-/
Tested in 0.27.5
but still not working with SDK 52
Same problem here, still not working with 0.29.12
and SDK 52
In the mean time I'm using https://github.com/zoontek/react-native-bootsplash It works perfectly!
I was having no splash screen issues when developing under Expo 51 / expo-splash-screen 0.27.5, as above. When I bumped to Expo 52 I had to take expo splash along for the ride. It has not worked properly since.
TEMPORARY SOLUTION: The bug is in 0.27.6 - downgrade to 0.27.5
Minimal reproducible example
https://github.com/jaworskimatt/splashscreentest
What platform(s) does this occur on?
iOS
Where did you reproduce the issue?
in Expo Go
Summary
Calling
SplashScreen.preventAutoHideAsync();
seems to have no effect on the app, the splash screen is automatically hidden.Steps to replicate:
npx create-expo-app@latest splashcreentest
to deploy a fresh appEdit
app/_layout.tsx
and comment out or deleteSplashScreen.hideAsync();
npx expo start
Expected result:
Since hideAsync() is not called, the splash screen should stay forever
Actual result:
The splash screen auto-hides anyway
Environment
Expo Doctor Diagnostics