I’m using a lottie Animation as a splash screen for my react native app.
the current implementation is that I’ve just put the lottie animation as the initial page in my navigation stack but, there is a latency until the JavaScript takes control.
this isn’t an issue on IOS but very noticeable on Android.
I want to figure out if there’s any way to cut out that latency.
Basically, How to make Android draw something from the very beginning (not just white screen)?
I have tried keeping the first frame of the animation as a native splash screen until the animation kicks in but the transition still looks very abrupt.
2
Answers
There is another similar question about this here.
Lottie Splash Screen with Expo – animated splash screen with Expo
They recommended using react-native-animated-screen and they have an example in expo as well. Expo example
for android you have to use react-native-splash-screen and there you can show Lottie Animations . Here is a simple example
for more information please visit react-native-splash-screen