When running the app with react-native start
, my app doesn’t get past a black screen. It starts up with my launch screen but changes to a back screen as soon as the green loading bar starts. After loading gets to 100%, the green bar goes away and the app stays black even though I can see a console log from the root App.tsx
file.
ex:
I have a hunch that this is related to expo splash screen but not sure. The app loads up just fine with expo start
and runs just fine with a production build. Some things I have done to debug:
- Removed everything from
App.tsx
except a View (and console log) - Ran
expo init
for a new bare test app and used the same versions it had for all the starting packages - Matched the
metro.config
,babel.config
, andapp.json
with the bare test app - Reset the sim
- Cleaned the xcode build folder
- Restarted my machine (swinging for the fences on this one)
- Copied the
SplashScreen
,SplashScreenBackground
, andSplashScreen.storyboard
from the bare test app - Tested a physical device
Has anyone run into this or have any more suggestions on how to debug?