Open jaworskimatt opened 3 weeks 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. 🙂
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