expo-splash-screen 0.20.4 → 0.20.5
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/CHANGELOG.md
CHANGED
|
@@ -10,6 +10,12 @@
|
|
|
10
10
|
|
|
11
11
|
### 💡 Others
|
|
12
12
|
|
|
13
|
+
## 0.20.5 — 2023-07-29
|
|
14
|
+
|
|
15
|
+
### 🐛 Bug fixes
|
|
16
|
+
|
|
17
|
+
- [Android] Fixed splash screen is missing when using the `getDelayLoadAppHandler()` from expo-updates. ([#23747](https://github.com/expo/expo/pull/23747) by [@kudo](https://github.com/kudo))
|
|
18
|
+
|
|
13
19
|
## 0.20.4 — 2023-07-05
|
|
14
20
|
|
|
15
21
|
_This version does not introduce any user-facing changes._
|
package/android/build.gradle
CHANGED
|
@@ -3,7 +3,7 @@ apply plugin: 'kotlin-android'
|
|
|
3
3
|
apply plugin: 'maven-publish'
|
|
4
4
|
|
|
5
5
|
group = 'host.exp.exponent'
|
|
6
|
-
version = '0.20.
|
|
6
|
+
version = '0.20.5'
|
|
7
7
|
|
|
8
8
|
buildscript {
|
|
9
9
|
def expoModulesCorePlugin = new File(project(":expo-modules-core").projectDir.absolutePath, "ExpoModulesCorePlugin.gradle")
|
|
@@ -67,7 +67,7 @@ android {
|
|
|
67
67
|
minSdkVersion safeExtGet('minSdkVersion', 21)
|
|
68
68
|
targetSdkVersion safeExtGet("targetSdkVersion", 33)
|
|
69
69
|
versionCode 17
|
|
70
|
-
versionName '0.20.
|
|
70
|
+
versionName '0.20.5'
|
|
71
71
|
}
|
|
72
72
|
lintOptions {
|
|
73
73
|
abortOnError false
|
|
@@ -2,8 +2,6 @@ package expo.modules.splashscreen
|
|
|
2
2
|
|
|
3
3
|
import android.app.Activity
|
|
4
4
|
import android.content.Context
|
|
5
|
-
import android.os.Bundle
|
|
6
|
-
import android.os.Handler
|
|
7
5
|
import com.facebook.react.ReactRootView
|
|
8
6
|
import expo.modules.core.interfaces.ReactActivityLifecycleListener
|
|
9
7
|
import expo.modules.splashscreen.singletons.SplashScreen
|
|
@@ -15,19 +13,13 @@ import expo.modules.splashscreen.SplashScreenImageResizeMode
|
|
|
15
13
|
/* ktlint-enable no-unused-imports */
|
|
16
14
|
|
|
17
15
|
class SplashScreenReactActivityLifecycleListener(activityContext: Context) : ReactActivityLifecycleListener {
|
|
18
|
-
override fun
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
activity,
|
|
26
|
-
getResizeMode(activity),
|
|
27
|
-
ReactRootView::class.java,
|
|
28
|
-
getStatusBarTranslucent(activity)
|
|
29
|
-
)
|
|
30
|
-
}
|
|
16
|
+
override fun onContentChanged(activity: Activity) {
|
|
17
|
+
SplashScreen.show(
|
|
18
|
+
activity,
|
|
19
|
+
getResizeMode(activity),
|
|
20
|
+
ReactRootView::class.java,
|
|
21
|
+
getStatusBarTranslucent(activity)
|
|
22
|
+
)
|
|
31
23
|
}
|
|
32
24
|
|
|
33
25
|
private fun getResizeMode(context: Context): SplashScreenImageResizeMode =
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expo-splash-screen",
|
|
3
|
-
"version": "0.20.
|
|
3
|
+
"version": "0.20.5",
|
|
4
4
|
"description": "Provides a module to allow keeping the native Splash Screen visible until you choose to hide it.",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"types": "build/index.d.ts",
|
|
@@ -45,5 +45,5 @@
|
|
|
45
45
|
"peerDependencies": {
|
|
46
46
|
"expo": "*"
|
|
47
47
|
},
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "0d774d352ca6d11f83a3223199c8e5f6ba4c8e09"
|
|
49
49
|
}
|