expo-splash-screen 0.18.2 → 0.19.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/CHANGELOG.md CHANGED
@@ -10,6 +10,12 @@
10
10
 
11
11
  ### 💡 Others
12
12
 
13
+ ## 0.19.0 — 2023-05-08
14
+
15
+ ### 💡 Others
16
+
17
+ - Android: Switch from deprecated `toLowerCase` to `lowercase` function ([#22225](https://github.com/expo/expo/pull/22225) by [@hbiede](https://github.com/hbiede))
18
+
13
19
  ## 0.18.2 — 2023-04-26
14
20
 
15
21
  _This version does not introduce any user-facing changes._
package/README.md CHANGED
@@ -31,10 +31,12 @@ Scale the image uniformly (maintaining the image's aspect ratio) so that both di
31
31
  <td>
32
32
 
33
33
  https://user-images.githubusercontent.com/379606/120575867-aeeb3580-c3d6-11eb-825d-19a847fe30f5.mp4
34
+
34
35
  </td>
35
36
  <td>
36
37
 
37
38
  https://user-images.githubusercontent.com/379606/120575885-b6124380-c3d6-11eb-8485-75a11832962c.mp4
39
+
38
40
  </td>
39
41
  </tr>
40
42
  </tbody>
@@ -50,10 +52,12 @@ Scale the image uniformly (maintaining the image's aspect ratio) so that both th
50
52
  <td>
51
53
 
52
54
  https://user-images.githubusercontent.com/379606/120575871-b1e62600-c3d6-11eb-9435-5dee19791294.mp4
55
+
53
56
  </td>
54
57
  <td>
55
58
 
56
59
  https://user-images.githubusercontent.com/379606/120575890-b7437080-c3d6-11eb-9c0a-3c563d1ee02a.mp4
60
+
57
61
  </td>
58
62
  </tr>
59
63
  </tbody>
@@ -72,6 +76,7 @@ Android (unlike iOS) does not support stretching of the provided image during la
72
76
  <td>
73
77
 
74
78
  https://user-images.githubusercontent.com/379606/120575878-b3afe980-c3d6-11eb-80c1-72441c22e8be.mp4
79
+
75
80
  </td>
76
81
  </tr>
77
82
  </tbody>
@@ -130,7 +135,7 @@ import * as SplashScreen from 'expo-splash-screen';
130
135
 
131
136
  // Prevent native splash screen from autohiding before App component declaration
132
137
  SplashScreen.preventAutoHideAsync()
133
- .then(result => console.log(`SplashScreen.preventAutoHideAsync() succeeded: ${result}`))
138
+ .then((result) => console.log(`SplashScreen.preventAutoHideAsync() succeeded: ${result}`))
134
139
  .catch(console.warn); // it's good to explicitly catch and inspect any error
135
140
 
136
141
  export default class App extends React.Component {
@@ -238,7 +243,7 @@ For bare React Native projects, you must ensure that you have [installed and con
238
243
  ## Add the package to your dependencies
239
244
 
240
245
  ```
241
- expo install expo-splash-screen
246
+ npx expo install expo-splash-screen
242
247
  ```
243
248
 
244
249
  ## 📱 Configure iOS
@@ -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.18.2'
6
+ version = '0.19.0'
7
7
 
8
8
  buildscript {
9
9
  def expoModulesCorePlugin = new File(project(":expo-modules-core").projectDir.absolutePath, "ExpoModulesCorePlugin.gradle")
@@ -74,7 +74,7 @@ android {
74
74
  minSdkVersion safeExtGet('minSdkVersion', 21)
75
75
  targetSdkVersion safeExtGet("targetSdkVersion", 33)
76
76
  versionCode 17
77
- versionName '0.18.2'
77
+ versionName '0.19.0'
78
78
  }
79
79
  lintOptions {
80
80
  abortOnError false
@@ -32,7 +32,7 @@ class SplashScreenReactActivityLifecycleListener(activityContext: Context) : Rea
32
32
 
33
33
  private fun getResizeMode(context: Context): SplashScreenImageResizeMode =
34
34
  SplashScreenImageResizeMode.fromString(
35
- context.getString(R.string.expo_splash_screen_resize_mode).toLowerCase()
35
+ context.getString(R.string.expo_splash_screen_resize_mode).lowercase()
36
36
  )
37
37
  ?: SplashScreenImageResizeMode.CONTAIN
38
38
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-splash-screen",
3
- "version": "0.18.2",
3
+ "version": "0.19.0",
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",
@@ -38,7 +38,7 @@
38
38
  },
39
39
  "dependencies": {
40
40
  "@expo/configure-splash-screen": "^0.6.0",
41
- "@expo/prebuild-config": "6.0.1"
41
+ "@expo/prebuild-config": "6.0.2"
42
42
  },
43
43
  "devDependencies": {
44
44
  "expo-module-scripts": "^3.0.0"
@@ -46,5 +46,5 @@
46
46
  "peerDependencies": {
47
47
  "expo": "*"
48
48
  },
49
- "gitHead": "e0caa25c2d020381d351fe816e242fb48de91c63"
49
+ "gitHead": "4ba50c428c8369bb6b3a51a860d4898ad4ccbe78"
50
50
  }