expo-template-bare-minimum 53.0.16 → 53.0.17

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.
@@ -4,6 +4,11 @@ import ReactAppDependencyProvider
4
4
 
5
5
  @UIApplicationMain
6
6
  public class AppDelegate: ExpoAppDelegate {
7
+ var window: UIWindow?
8
+
9
+ var reactNativeDelegate: ExpoReactNativeFactoryDelegate?
10
+ var reactNativeFactory: RCTReactNativeFactory?
11
+
7
12
  public override func application(
8
13
  _ application: UIApplication,
9
14
  didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? = nil
@@ -12,12 +17,13 @@ public class AppDelegate: ExpoAppDelegate {
12
17
  let factory = ExpoReactNativeFactory(delegate: delegate)
13
18
  delegate.dependencyProvider = RCTAppDependencyProvider()
14
19
 
15
- reactNativeFactoryDelegate = delegate
20
+ reactNativeDelegate = delegate
16
21
  reactNativeFactory = factory
22
+ bindReactNativeFactory(factory)
17
23
 
18
24
  #if os(iOS) || os(tvOS)
19
25
  window = UIWindow(frame: UIScreen.main.bounds)
20
- reactNativeFactory?.startReactNative(
26
+ factory.startReactNative(
21
27
  withModuleName: "main",
22
28
  in: window,
23
29
  launchOptions: launchOptions)
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "expo-template-bare-minimum",
3
3
  "description": "This bare project template includes a minimal setup for using unimodules with React Native.",
4
4
  "license": "0BSD",
5
- "version": "53.0.16",
5
+ "version": "53.0.17",
6
6
  "main": "index.js",
7
7
  "scripts": {
8
8
  "start": "expo start --dev-client",
@@ -11,7 +11,7 @@
11
11
  "web": "expo start --web"
12
12
  },
13
13
  "dependencies": {
14
- "expo": "~53.0.0",
14
+ "expo": "~53.0.1",
15
15
  "expo-status-bar": "~2.2.2",
16
16
  "react": "19.0.0",
17
17
  "react-native": "0.79.1"