Hello everybody!
I am working on Expo 3 months and it is a great framework for use. But I have one small but nervous thing. My app shows white screen between splash screen and app. I didn’t pay any attention to this, but it looks like a bug. I already update to 24 version of Expo and it should be fixed. I tried to build a standalone app in iOS but it is the same. Can you help me to solve this bug?
This is my app.json
hi there! make sure that the initial content that you’re rendering in your app is not too expensive to render. for example, if you only render an empty view with a colored background, you will notice that there is no white screen between splash and the app. the problem becomes when the app takes a significant amount of time to display anything on the screen for the first render
without seeing all of the code and playing with it myself there’s no way i can give you any exact advice (just add the “optimize” prop! haha), instead i can only recommend that you defer rendering some things that are rendered right away. for example, maybe for the first screen you mount, rather than rendering it right away you show a loading indicator and then render it a few hundred milliseconds after. if you are rendering ‘5 screens’ right away, then just render one. if you have a tab navigator, make sure it uses the lazy prop