expo-splash-screen 0.13.3 → 0.14.1
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 +16 -0
- package/README.md +1 -1
- package/android/build.gradle +2 -2
- package/ios/EXSplashScreen/EXSplashScreenService.m +2 -1
- package/ios/EXSplashScreen.xcframework/ios-arm64/EXSplashScreen.framework/EXSplashScreen +0 -0
- package/ios/EXSplashScreen.xcframework/ios-arm64/EXSplashScreen.framework/Info.plist +0 -0
- package/ios/EXSplashScreen.xcframework/ios-arm64_x86_64-simulator/EXSplashScreen.framework/EXSplashScreen +0 -0
- package/ios/EXSplashScreen.xcframework/ios-arm64_x86_64-simulator/EXSplashScreen.framework/Info.plist +0 -0
- package/package.json +6 -4
- package/plugin/build/withSplashScreen.js +3 -3
- package/.expo/tsconfig.jest.json +0 -13
package/CHANGELOG.md
CHANGED
|
@@ -10,6 +10,22 @@
|
|
|
10
10
|
|
|
11
11
|
### 💡 Others
|
|
12
12
|
|
|
13
|
+
## 0.14.1 — 2021-12-22
|
|
14
|
+
|
|
15
|
+
### 🐛 Bug fixes
|
|
16
|
+
|
|
17
|
+
- Remove duplicated `expo-modules-autolinking` package coming from `expo-splash-screen` dependencies. ([#15685](https://github.com/expo/expo/pull/15685) by [@kudo](https://github.com/kudo))
|
|
18
|
+
|
|
19
|
+
## 0.14.0 — 2021-12-03
|
|
20
|
+
|
|
21
|
+
### 🐛 Bug fixes
|
|
22
|
+
|
|
23
|
+
- Fix `Cannot remove an observer <EXSplashScreenService> for the key path "rootViewController"` exception if applcation keyWindow changed. ([#14982](https://github.com/expo/expo/pull/14982) by [@kudo](https://github.com/kudo))
|
|
24
|
+
|
|
25
|
+
## 0.13.4 — 2021-10-22
|
|
26
|
+
|
|
27
|
+
_This version does not introduce any user-facing changes._
|
|
28
|
+
|
|
13
29
|
## 0.13.3 — 2021-10-15
|
|
14
30
|
|
|
15
31
|
### 🐛 Bug fixes
|
package/README.md
CHANGED
|
@@ -233,7 +233,7 @@ Refer to [the SplashScreen section of the Expo documentation](https://docs.expo.
|
|
|
233
233
|
|
|
234
234
|
## 🖥 Installation in bare React Native projects
|
|
235
235
|
|
|
236
|
-
For bare React Native projects, you must ensure that you have [installed and configured the `
|
|
236
|
+
For bare React Native projects, you must ensure that you have [installed and configured the `expo` package](https://docs.expo.dev/bare/installing-expo-modules/) before continuing.
|
|
237
237
|
|
|
238
238
|
## Add the package to your dependencies
|
|
239
239
|
|
package/android/build.gradle
CHANGED
|
@@ -3,7 +3,7 @@ apply plugin: 'kotlin-android'
|
|
|
3
3
|
apply plugin: 'maven'
|
|
4
4
|
|
|
5
5
|
group = 'host.exp.exponent'
|
|
6
|
-
version = '0.
|
|
6
|
+
version = '0.14.1'
|
|
7
7
|
|
|
8
8
|
buildscript {
|
|
9
9
|
// Simple helper that allows the root project to override versions declared by this library.
|
|
@@ -57,7 +57,7 @@ android {
|
|
|
57
57
|
minSdkVersion safeExtGet('minSdkVersion', 21)
|
|
58
58
|
targetSdkVersion safeExtGet('targetSdkVersion', 30)
|
|
59
59
|
versionCode 17
|
|
60
|
-
versionName '0.
|
|
60
|
+
versionName '0.14.1'
|
|
61
61
|
}
|
|
62
62
|
lintOptions {
|
|
63
63
|
abortOnError false
|
|
@@ -167,7 +167,8 @@ EX_REGISTER_SINGLETON_MODULE(SplashScreen);
|
|
|
167
167
|
{
|
|
168
168
|
NSAssert([NSThread isMainThread], @"Method must be called on main thread");
|
|
169
169
|
if (self.observingRootViewController != nil) {
|
|
170
|
-
|
|
170
|
+
UIWindow *window = self.observingRootViewController.view.window;
|
|
171
|
+
[window removeObserver:self forKeyPath:kRootViewController context:nil];
|
|
171
172
|
[self.observingRootViewController removeObserver:self forKeyPath:kView context:nil];
|
|
172
173
|
self.observingRootViewController = nil;
|
|
173
174
|
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expo-splash-screen",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.14.1",
|
|
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,11 +38,13 @@
|
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@expo/configure-splash-screen": "^0.6.0",
|
|
41
|
-
"@expo/prebuild-config": "^3.0.
|
|
42
|
-
"expo-modules-core": "~0.4.4"
|
|
41
|
+
"@expo/prebuild-config": "^3.0.15"
|
|
43
42
|
},
|
|
44
43
|
"devDependencies": {
|
|
45
44
|
"expo-module-scripts": "^2.0.0"
|
|
46
45
|
},
|
|
47
|
-
"
|
|
46
|
+
"peerDependencies": {
|
|
47
|
+
"expo": "*"
|
|
48
|
+
},
|
|
49
|
+
"gitHead": "0546c63f2d7c25315dd709de8a1c7a3478d83564"
|
|
48
50
|
}
|
|
@@ -7,8 +7,8 @@ const pkg = require('expo-splash-screen/package.json');
|
|
|
7
7
|
const withSplashScreen = (config) => {
|
|
8
8
|
// For simplicity, we'll version the unversioned code in expo-splash-screen.
|
|
9
9
|
// This adds more JS to the package overall, but the trade-off is less copying between expo-cli/expo.
|
|
10
|
-
config = withAndroidSplashScreen_1.withAndroidSplashScreen(config);
|
|
11
|
-
config = withIosSplashScreen_1.withIosSplashScreen(config);
|
|
10
|
+
config = (0, withAndroidSplashScreen_1.withAndroidSplashScreen)(config);
|
|
11
|
+
config = (0, withIosSplashScreen_1.withIosSplashScreen)(config);
|
|
12
12
|
return config;
|
|
13
13
|
};
|
|
14
|
-
exports.default = config_plugins_1.createRunOncePlugin(withSplashScreen, pkg.name, pkg.version);
|
|
14
|
+
exports.default = (0, config_plugins_1.createRunOncePlugin)(withSplashScreen, pkg.name, pkg.version);
|
package/.expo/tsconfig.jest.json
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": "/Users/brentvatne/code/expo/packages/expo-splash-screen/tsconfig.json",
|
|
3
|
-
"compilerOptions": {
|
|
4
|
-
"module": "esnext",
|
|
5
|
-
"typeRoots": [
|
|
6
|
-
"./node_modules/@types",
|
|
7
|
-
"../node_modules/@types",
|
|
8
|
-
"../../node_modules/@types",
|
|
9
|
-
"../../../node_modules/@types",
|
|
10
|
-
"/Users/brentvatne/code/expo/packages/expo-module-scripts/ts-declarations"
|
|
11
|
-
]
|
|
12
|
-
}
|
|
13
|
-
}
|