In this article we are going to learn a easiest way to add splash screen into react native cli app with help of react native bootsplash library for android app, for IOS please visit the official documentation of bootsplash library.
First we are going to create a react native cli app with the help of this command.
npx react-native init splashscreen
we are considering here you already setup environment for react native app, for more detail about environment setup visit this link react native development environment.
After installing the app move to the folder:
Now install the library:
npx react-native generate-bootsplash