Skip to content

Commit f792147

Browse files
authored
Merge pull request crazycodeboy#93 from iRoachie/readme
Update README for 0.3.1 changes
2 parents b363e41 + 834aab9 commit f792147

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

+7
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,11 @@ dependencies {
6464
3. Update the MainApplication.java file to use `react-native-splash-screen` via the following changes:
6565

6666
```java
67+
// react-native-splash-screen >= 0.3.1
6768
import org.devio.rn.splashscreen.SplashScreenReactPackage;
69+
// react-native-splash-screen < 0.3.1
70+
import com.cboy.rn.splashscreen.SplashScreenReactPackage;
71+
6872
public class MainApplication extends Application implements ReactApplication {
6973

7074
private final ReactNativeHost mReactNativeHost = new ReactNativeHost(this) {
@@ -109,7 +113,10 @@ Update the `MainActivity.java` to use `react-native-splash-screen` via the follo
109113
```java
110114
import android.os.Bundle;
111115
import com.facebook.react.ReactActivity;
116+
// react-native-splash-screen >= 0.3.1
112117
import org.devio.rn.splashscreen.SplashScreen; // here
118+
// react-native-splash-screen < 0.3.1
119+
import com.cboy.rn.splashscreen.SplashScreen; // here
113120

114121
public class MainActivity extends ReactActivity {
115122
@Override

0 commit comments

Comments
 (0)