Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,21 @@ For React Native >= 0.47.0 use [v3.+](https://github.com/crazycodeboy/react-nati
## Installation

### First step(Download):
Run `npm i react-native-splash-screen --save`
**Android**
```sh
npm i react-native-splash-screen --save
```

**IOS**
```sh
npm i react-native-splash-screen --save
cd ios
pod update
cd ..
```

### Second step(Plugin Installation):
Skip to step Three if you are using React Native >= 0.60 since linking is automatically done in the new versions.

#### Automatic installation

Expand Down Expand Up @@ -214,6 +226,8 @@ Open `android/app/src/main/res/values/styles.xml` and add `<item name="android:w
</style>
</resources>
```
To remove the white screen when the app starts open `android/app/src/main/res/values/styles.xml` and add `<item name="android:windowDisablePreview">true</item>` to "AppTheme" like in the above example.


**To learn more see [examples](https://github.com/crazycodeboy/react-native-splash-screen/tree/master/examples)**

Expand Down