Use React.Component as splash screen
complete
Brent Vatne
marked this post as
complete
I describe how to animate / sub in a React component for splash screens when it is possible here: https://blog.expo.io/expo-sdk-v29-0-0-is-now-available-f001d77fadf
Brent Vatne
marked this post as
in progress
we have built something similar to this, to the extent that it is possible with splash screens. note that it's actually impossible to animate native splash screens, so you can at best have an indistinguishable transition from splash screen to the app, then animate from the app. we have made that possible but you will need to do the animation on your own. people can build components to handle this automatically on top of the api. we'll announce this in sdk29 shortly
Michael Antczak
Hello. I think there is a workaround. When the app loads, use a static image as your splash screen with just the background colour matching the background colour of your first screen. Then your first screen can be your splash screen and you can do any animation you want there.
Sergey Panteleev
Michael Antczak: yes, it is possible, but not exactly what I want. In the meantime, if is it possible to add gif instead of png - in part this would solve the problem
Brent Vatne
if you can create a library that demonstrates how you would do this we can consider it :)
Sergey Panteleev
Brent Vatne: is it possible to allow gif images as splash screen?