Open vineelk8 opened 3 years ago
Splash screens like Netflix also work in the same way as above.
If you looking for animation launch screen in react native, i would suggest looking into this package.
https://www.npmjs.com/package/react-native-lottie-splash-screen
It implements animation splash screen using airbnb lottie files. Also, I apply this for multiple react native projects and it worked well. Have a nice day!
This is a way to showing a gif on android
add implementation 'pl.droidsonroids.gif:android-gif-drawable:1.2.1' in your build.gradle and in launch_screen.xml replace ImageView to pl.droidsonroids.gif.GifImageView
done
This is a way to showing a gif on android
add implementation 'pl.droidsonroids.gif:android-gif-drawable:1.2.1' in your build.gradle and in launch_screen.xml replace ImageView to pl.droidsonroids.gif.GifImageView
done
If just add
pl.droidsonroids.gif:android-gif-drawable:1.2.1 Project with path 'pl.droidsonroids.gif:android-gif-drawable:1.2.1' could not be found in project
@amirbhz86 Cool I tried for android and it works like charm but I am supposed to add it for ios side too if you know how to do the same for ios.
how to add the animated spash screen in expo without creating a splash screen component?
I'm using the react-native-splash-screen package and it is working fine for the image splash screen.
Is it possible to show video or gif using the same package or any other approach to show gif for a splash screen?
I want to load the splash screen during the app bundle, not after the app bundle. Please suggest to me a solution for this