expo 53.0.0 → 53.0.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/android/build.gradle +2 -2
- package/build/Expo.fx.d.ts +1 -0
- package/build/Expo.fx.d.ts.map +1 -1
- package/build/Expo.fx.web.d.ts +1 -0
- package/build/Expo.fx.web.d.ts.map +1 -1
- package/bundledNativeModules.json +5 -5
- package/ios/AppDelegates/EXAppDelegateWrapper.mm +4 -4
- package/ios/AppDelegates/ExpoAppDelegate.swift +9 -9
- package/package.json +5 -5
- package/src/Expo.fx.tsx +1 -0
- package/src/Expo.fx.web.tsx +1 -0
- package/virtual/rsc.js +1 -0
package/android/build.gradle
CHANGED
|
@@ -32,7 +32,7 @@ buildscript {
|
|
|
32
32
|
def reactNativeVersion = project.extensions.getByType(ExpoModuleExtension).reactNativeVersion
|
|
33
33
|
|
|
34
34
|
group = 'host.exp.exponent'
|
|
35
|
-
version = '53.0.
|
|
35
|
+
version = '53.0.1'
|
|
36
36
|
|
|
37
37
|
expoModule {
|
|
38
38
|
// We can't prebuild the module because it depends on the generated files.
|
|
@@ -43,7 +43,7 @@ android {
|
|
|
43
43
|
namespace "expo.core"
|
|
44
44
|
defaultConfig {
|
|
45
45
|
versionCode 1
|
|
46
|
-
versionName "53.0.
|
|
46
|
+
versionName "53.0.1"
|
|
47
47
|
consumerProguardFiles("proguard-rules.pro")
|
|
48
48
|
}
|
|
49
49
|
testOptions {
|
package/build/Expo.fx.d.ts
CHANGED
package/build/Expo.fx.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Expo.fx.d.ts","sourceRoot":"","sources":["../src/Expo.fx.tsx"],"names":[],"mappings":"AACA,OAAO,UAAU,CAAC;AAClB,OAAO,YAAY,CAAC"}
|
|
1
|
+
{"version":3,"file":"Expo.fx.d.ts","sourceRoot":"","sources":["../src/Expo.fx.tsx"],"names":[],"mappings":"AACA,OAAO,UAAU,CAAC;AAClB,OAAO,YAAY,CAAC;AACpB,OAAO,kBAAkB,CAAC"}
|
package/build/Expo.fx.web.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Expo.fx.web.d.ts","sourceRoot":"","sources":["../src/Expo.fx.web.tsx"],"names":[],"mappings":"AAAA,OAAO,UAAU,CAAC"}
|
|
1
|
+
{"version":3,"file":"Expo.fx.web.d.ts","sourceRoot":"","sources":["../src/Expo.fx.web.tsx"],"names":[],"mappings":"AAAA,OAAO,UAAU,CAAC;AAClB,OAAO,kBAAkB,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"@expo/fingerprint": "~0.12.3",
|
|
3
|
-
"@expo/metro-runtime": "~5.0.
|
|
3
|
+
"@expo/metro-runtime": "~5.0.4",
|
|
4
4
|
"@expo/vector-icons": "^14.1.0",
|
|
5
5
|
"@expo/ui": "~0.1.1-alpha.5",
|
|
6
6
|
"@react-native-async-storage/async-storage": "2.1.2",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"expo-constants": "~17.1.3",
|
|
37
37
|
"expo-contacts": "~14.2.2",
|
|
38
38
|
"expo-crypto": "~14.1.3",
|
|
39
|
-
"expo-dev-client": "~5.1.
|
|
39
|
+
"expo-dev-client": "~5.1.5",
|
|
40
40
|
"expo-device": "~7.1.3",
|
|
41
41
|
"expo-document-picker": "~13.1.4",
|
|
42
42
|
"expo-file-system": "~18.1.7",
|
|
@@ -62,13 +62,13 @@
|
|
|
62
62
|
"expo-media-library": "~17.1.4",
|
|
63
63
|
"expo-mesh-gradient": "~0.3.3",
|
|
64
64
|
"expo-module-template": "~10.16.4",
|
|
65
|
-
"expo-modules-core": "~2.3.
|
|
65
|
+
"expo-modules-core": "~2.3.11",
|
|
66
66
|
"expo-navigation-bar": "~4.2.2",
|
|
67
67
|
"expo-network": "~7.1.4",
|
|
68
68
|
"expo-notifications": "~0.31.0",
|
|
69
69
|
"expo-print": "~14.1.3",
|
|
70
70
|
"expo-live-photo": "~0.1.3",
|
|
71
|
-
"expo-router": "~5.0.
|
|
71
|
+
"expo-router": "~5.0.3",
|
|
72
72
|
"expo-screen-capture": "~7.1.3",
|
|
73
73
|
"expo-screen-orientation": "~8.1.4",
|
|
74
74
|
"expo-secure-store": "~14.2.2",
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
"expo-system-ui": "~5.0.5",
|
|
85
85
|
"expo-task-manager": "~13.1.4",
|
|
86
86
|
"expo-tracking-transparency": "~5.2.3",
|
|
87
|
-
"expo-updates": "~0.28.
|
|
87
|
+
"expo-updates": "~0.28.9",
|
|
88
88
|
"expo-video-thumbnails": "~9.1.2",
|
|
89
89
|
"expo-video": "~2.1.7",
|
|
90
90
|
"expo-web-browser": "~14.1.5",
|
|
@@ -63,12 +63,12 @@
|
|
|
63
63
|
|
|
64
64
|
- (UIViewController *)createRootViewController
|
|
65
65
|
{
|
|
66
|
-
return [_expoAppDelegate.
|
|
66
|
+
return [_expoAppDelegate.factory.delegate createRootViewController];
|
|
67
67
|
}
|
|
68
68
|
|
|
69
69
|
- (void)customizeRootView:(UIView *)rootView
|
|
70
70
|
{
|
|
71
|
-
[_expoAppDelegate.
|
|
71
|
+
[_expoAppDelegate.factory.delegate customizeRootView:rootView];
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
#pragma mark - RCTComponentViewFactoryComponentProvider
|
|
@@ -94,11 +94,11 @@
|
|
|
94
94
|
|
|
95
95
|
- (id<RCTTurboModule>)getModuleInstanceFromClass:(Class)moduleClass
|
|
96
96
|
{
|
|
97
|
-
return [_expoAppDelegate.
|
|
97
|
+
return [_expoAppDelegate.factory.delegate getModuleInstanceFromClass:moduleClass];
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
- (Class)getModuleClassFromName:(const char *)name {
|
|
101
|
-
return [_expoAppDelegate.
|
|
101
|
+
return [_expoAppDelegate.factory.delegate getModuleClassFromName:name];
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
|
|
@@ -14,17 +14,13 @@ import ReactAppDependencyProvider
|
|
|
14
14
|
*/
|
|
15
15
|
@objc(EXExpoAppDelegate)
|
|
16
16
|
open class ExpoAppDelegate: NSObject, ReactNativeFactoryProvider, UIApplicationDelegate {
|
|
17
|
-
@objc public var
|
|
18
|
-
@objc public var reactNativeFactoryDelegate: ExpoReactNativeFactoryDelegate?
|
|
17
|
+
@objc public var factory: RCTReactNativeFactory?
|
|
19
18
|
private let defaultModuleName = "main"
|
|
20
19
|
private let defaultInitialProps = [AnyHashable: Any]()
|
|
21
20
|
|
|
22
|
-
/// The window object, used to render the UIViewControllers
|
|
23
|
-
public var window: UIWindow?
|
|
24
|
-
|
|
25
21
|
func loadMacOSWindow(launchOptions: [UIApplication.LaunchOptionsKey: Any]?) {
|
|
26
22
|
#if os(macOS)
|
|
27
|
-
if let rootView =
|
|
23
|
+
if let rootView = factory?.rootViewFactory.view(
|
|
28
24
|
withModuleName: defaultModuleName,
|
|
29
25
|
initialProperties: defaultInitialProps,
|
|
30
26
|
launchOptions: launchOptions
|
|
@@ -50,15 +46,19 @@ open class ExpoAppDelegate: NSObject, ReactNativeFactoryProvider, UIApplicationD
|
|
|
50
46
|
#endif
|
|
51
47
|
}
|
|
52
48
|
|
|
49
|
+
public func bindReactNativeFactory(_ factory: RCTReactNativeFactory) {
|
|
50
|
+
self.factory = factory
|
|
51
|
+
}
|
|
52
|
+
|
|
53
53
|
public func recreateRootView(
|
|
54
54
|
withBundleURL: URL?,
|
|
55
55
|
moduleName: String?,
|
|
56
56
|
initialProps: [AnyHashable: Any]?,
|
|
57
57
|
launchOptions: [AnyHashable: Any]?
|
|
58
58
|
) -> UIView {
|
|
59
|
-
guard let delegate = self.
|
|
60
|
-
let rootViewFactory = self.
|
|
61
|
-
fatalError("recreateRootView: Missing
|
|
59
|
+
guard let delegate = self.factory?.delegate,
|
|
60
|
+
let rootViewFactory = self.factory?.rootViewFactory else {
|
|
61
|
+
fatalError("recreateRootView: Missing factory in ExpoAppDelegate")
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
if delegate.newArchEnabled() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expo",
|
|
3
|
-
"version": "53.0.
|
|
3
|
+
"version": "53.0.1",
|
|
4
4
|
"description": "The Expo SDK",
|
|
5
5
|
"main": "src/Expo.ts",
|
|
6
6
|
"module": "src/Expo.ts",
|
|
@@ -73,11 +73,11 @@
|
|
|
73
73
|
"homepage": "https://github.com/expo/expo/tree/main/packages/expo",
|
|
74
74
|
"dependencies": {
|
|
75
75
|
"@babel/runtime": "^7.20.0",
|
|
76
|
-
"@expo/cli": "0.24.
|
|
76
|
+
"@expo/cli": "0.24.7",
|
|
77
77
|
"@expo/config": "~11.0.5",
|
|
78
78
|
"@expo/config-plugins": "~9.1.7",
|
|
79
79
|
"@expo/fingerprint": "0.12.3",
|
|
80
|
-
"@expo/metro-config": "0.20.
|
|
80
|
+
"@expo/metro-config": "0.20.9",
|
|
81
81
|
"@expo/vector-icons": "^14.0.0",
|
|
82
82
|
"babel-preset-expo": "~13.1.8",
|
|
83
83
|
"expo-asset": "~11.1.3",
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
"expo-font": "~13.2.2",
|
|
87
87
|
"expo-keep-awake": "~14.1.3",
|
|
88
88
|
"expo-modules-autolinking": "2.1.8",
|
|
89
|
-
"expo-modules-core": "2.3.
|
|
89
|
+
"expo-modules-core": "2.3.11",
|
|
90
90
|
"react-native-edge-to-edge": "1.6.0",
|
|
91
91
|
"whatwg-url-without-unicode": "8.0.0-3"
|
|
92
92
|
},
|
|
@@ -119,5 +119,5 @@
|
|
|
119
119
|
"optional": true
|
|
120
120
|
}
|
|
121
121
|
},
|
|
122
|
-
"gitHead": "
|
|
122
|
+
"gitHead": "45bd8a319fb2d6abadac8dcb0c821a55a1f0caa3"
|
|
123
123
|
}
|
package/src/Expo.fx.tsx
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
// load expo-asset immediately to set a custom `source` transformer in React Native
|
|
2
2
|
import './winter';
|
|
3
3
|
import 'expo-asset';
|
|
4
|
+
import 'expo/virtual/rsc';
|
|
4
5
|
|
|
5
6
|
import Constants from 'expo-constants';
|
|
6
7
|
import { AppRegistry, NativeModules, LogBox, Platform } from 'react-native';
|
package/src/Expo.fx.web.tsx
CHANGED
package/virtual/rsc.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
// The contents of this file are added in Metro.
|