react-native-bootsplash 4.0.2 → 4.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -216,7 +216,7 @@ dependencies {
|
|
|
216
216
|
//noinspection GradleDynamicVersion
|
|
217
217
|
implementation "com.facebook.react:react-native:+" // From node_modules
|
|
218
218
|
|
|
219
|
-
implementation "androidx.core:core-splashscreen:1.0.0-
|
|
219
|
+
implementation "androidx.core:core-splashscreen:1.0.0-beta01" // Add this line
|
|
220
220
|
|
|
221
221
|
// …
|
|
222
222
|
```
|
package/android/build.gradle
CHANGED
|
@@ -49,5 +49,5 @@ repositories {
|
|
|
49
49
|
dependencies {
|
|
50
50
|
//noinspection GradleDynamicVersion
|
|
51
51
|
implementation "com.facebook.react:react-native:+" // From node_modules
|
|
52
|
-
implementation "androidx.core:core-splashscreen:${safeExtGet("androidXSplashScreenVersion", "1.0.0-
|
|
52
|
+
implementation "androidx.core:core-splashscreen:${safeExtGet("androidXSplashScreenVersion", "1.0.0-beta01")}"
|
|
53
53
|
}
|
|
@@ -66,7 +66,7 @@ public class RNBootSplashModule extends ReactContextBaseJavaModule implements Li
|
|
|
66
66
|
mSplashScreen = SplashScreen.installSplashScreen(activity);
|
|
67
67
|
mStatus = Status.VISIBLE;
|
|
68
68
|
|
|
69
|
-
mSplashScreen.
|
|
69
|
+
mSplashScreen.setKeepOnScreenCondition(new SplashScreen.KeepOnScreenCondition() {
|
|
70
70
|
@Override
|
|
71
71
|
public boolean shouldKeepOnScreen() {
|
|
72
72
|
return mShouldKeepOnScreen;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-bootsplash",
|
|
3
|
-
"version": "4.0
|
|
3
|
+
"version": "4.1.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Display a bootsplash on your app starts. Hide it when you want.",
|
|
6
6
|
"author": "Mathieu Acthernoene <zoontek@gmail.com>",
|
|
@@ -65,14 +65,14 @@
|
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
67
67
|
"@types/fs-extra": "^9.0.13",
|
|
68
|
-
"@types/react-native": "^0.66.
|
|
69
|
-
"lint-staged": "^12.
|
|
70
|
-
"prettier": "^2.
|
|
68
|
+
"@types/react-native": "^0.66.12",
|
|
69
|
+
"lint-staged": "^12.1.7",
|
|
70
|
+
"prettier": "^2.5.1",
|
|
71
71
|
"prettier-plugin-organize-imports": "^2.3.4",
|
|
72
72
|
"react": "^17.0.2",
|
|
73
|
-
"react-native": "^0.66.
|
|
73
|
+
"react-native": "^0.66.4",
|
|
74
74
|
"react-native-builder-bob": "^0.18.2",
|
|
75
75
|
"rescript": "^9.1.4",
|
|
76
|
-
"typescript": "^4.
|
|
76
|
+
"typescript": "^4.5.4"
|
|
77
77
|
}
|
|
78
78
|
}
|