🐛 Bug Report
App reload crashes when expo-splash-screen is added.
When trying to restart the app via developer menu or hitting “r” on terminal the app crashes with following error.
Environment
- SDK 37 Bare Minimal Typescript Template
- Installed and configured expo-splash-screen @ 0.1.1 and everything to do with showing and hiding the splash screen is working fine.
- Running using
npm run android
Steps to Reproduce
- Start app in bare workflow with expo-splash-screen.
- Reload app using either developer menu or “r” in terminal.
Expected Behavior
App bundler should restart.
Actual Behavior
App crashes.
Reproducible Demo
Will reply with demo when possible.
Running into the same error on a unimodules project. Was able to patch it by adding
(splashScreenView.parent as? ViewGroup)?.removeView(splashScreenView)
to
SplashScreenController.kt
before showing the splash screen, either in ShowSplashScreen or the handleRootView child removal listener. Looking into whether it affects bare-expo.Ditto. Thanks
Here is what we did if it helps