The project often uses some third-party components, each time the use of the Internet to find a lot, some good, some do not work,
Now keep track of the components that you've used in your project, and save a bit of time to test and explore for yourself.
Basic configuration GitHub has a detailed introduction to React-native-splash-screen.
First note that this pro-test version of Rn is 0.33.
The steps to configure are similar to the general third-party components, which are not mentioned here. The difference is in the./android/app/src/res. Layout and drawable folders
Splash.png is the starting picture you want to set up,
Launch_screen.xml Code
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/splash">
</LinearLayout>
The main example GitHub site also has examples, the use is very convenient. Dobby to recommend
Pro-Test effective use of components of the Start screen React-native-splash-screen (a)