@@ -25,8 +25,8 @@ For React Native >= 0.47.0 use [v3.+](https://github.com/crazycodeboy/react-nati
2525## Examples
2626* [ Examples] ( https://github.com/crazycodeboy/react-native-splash-screen/tree/master/examples )
2727
28- ![ react-native-splash-screen-Android] ( https://raw.githubusercontent.com/crazycodeboy/react-native-splash-screen/master /examples/Screenshots/react-native-splash-screen-Android.gif )
29- ![ react-native-splash-screen-iOS] ( https://raw.githubusercontent.com/crazycodeboy/react-native-splash-screen/master /examples/Screenshots/react-native-splash-screen-iOS.gif )
28+ ![ react-native-splash-screen-Android] ( https://raw.githubusercontent.com/crazycodeboy/react-native-splash-screen/v3.0.0 /examples/Screenshots/react-native-splash-screen-Android.gif )
29+ ![ react-native-splash-screen-iOS] ( https://raw.githubusercontent.com/crazycodeboy/react-native-splash-screen/v3.0.0 /examples/Screenshots/react-native-splash-screen-iOS.gif )
3030
3131
3232
@@ -45,7 +45,7 @@ Run `npm i react-native-splash-screen --save`
4545
4646** Android:**
4747
48- 1 . In your android/settings.gradle file, make the following additions:
48+ 1 . In your ` android/settings.gradle ` file, make the following additions:
4949``` java
5050include ' :react-native-splash-screen'
5151project(' :react-native-splash-screen' ). projectDir = new File (rootProject. projectDir, ' ../node_modules/react-native-splash-screen/android' )
@@ -134,9 +134,10 @@ Update `AppDelegate.m` with the following additions:
134134
135135
136136``` obj-c
137-
138137#import " AppDelegate.h"
139- #import " RCTRootView.h"
138+
139+ #import < React/RCTBundleURLProvider.h>
140+ #import < React/RCTRootView.h>
140141#import " SplashScreen.h" // here
141142
142143@implementation AppDelegate
@@ -181,7 +182,7 @@ You can create splash screens in the following folders:
181182* ` drawable-xxhdpi `
182183* ` drawable-xxxhdpi `
183184
184- To modify the status bar color, you can add a color called primary_dark in color.xml
185+ Add a color called ` primary_dark ` in ` app/src/main/res/values/ color.xml`
185186
186187```
187188<?xml version="1.0" encoding="utf-8"?>
@@ -233,12 +234,12 @@ Create a style definition for this in `android/app/src/main/res/values/colors.xm
233234
234235Change your ` show ` method to include your custom style:
235236``` java
236- SplashScreen . show(this , false , R . style. SplashScreenTheme );
237+ SplashScreen . show(this , R . style. SplashScreenTheme );
237238```
238239
239240### iOS
240241
241- Customize your splash screen via LaunchImage or LaunchScreen.xib,
242+ Customize your splash screen via ` LaunchImage ` or ` LaunchScreen.xib ` ,
242243
243244** Learn more to see [ examples] ( https://github.com/crazycodeboy/react-native-splash-screen/tree/master/examples ) **
244245
@@ -275,4 +276,4 @@ Pull requests are welcome. If you want to change the API or do something big it
275276
276277---
277278
278- ** MIT Licensed**
279+ ** [ MIT Licensed] ( https://github.com/crazycodeboy/react-native-splash-screen/blob/master/LICENSE ) **
0 commit comments