expo-updates 29.0.11 → 29.0.12

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
+ ## 29.0.12 — 2025-10-01
14
+
15
+ ### 🎉 New features
16
+
17
+ - Remove `ExpoAppDelegate` inheritance requirement ([#39844](https://github.com/expo/expo/pull/39844) by [@gabrieldonadel](https://github.com/gabrieldonadel))
18
+
13
19
  ## 29.0.11 — 2025-09-18
14
20
 
15
21
  ### 🐛 Bug fixes
@@ -42,7 +42,7 @@ expoModule {
42
42
  }
43
43
 
44
44
  group = 'host.exp.exponent'
45
- version = '29.0.11'
45
+ version = '29.0.12'
46
46
 
47
47
  // Utility method to derive boolean values from the environment or from Java properties,
48
48
  // and return them as strings to be used in BuildConfig fields
@@ -88,7 +88,7 @@ android {
88
88
  namespace "expo.modules.updates"
89
89
  defaultConfig {
90
90
  versionCode 31
91
- versionName '29.0.11'
91
+ versionName '29.0.12'
92
92
  consumerProguardFiles("proguard-rules.pro")
93
93
  testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
94
94
 
@@ -76,12 +76,31 @@ public final class ExpoUpdatesReactDelegateHandler: ExpoReactDelegateHandler, Ap
76
76
  fatalError("`reactDelegate` should not be nil")
77
77
  }
78
78
 
79
- guard let appDelegate = (UIApplication.shared.delegate as? (any ReactNativeFactoryProvider)) ??
80
- ((UIApplication.shared.delegate as? NSObject)?.value(forKey: "_expoAppDelegate") as? (any ReactNativeFactoryProvider)) else {
81
- fatalError("`UIApplication.shared.delegate` must be an `ExpoAppDelegate` or `EXAppDelegateWrapper`")
79
+ func recreateRootView(
80
+ withBundleURL: URL?,
81
+ moduleName: String?,
82
+ initialProps: [AnyHashable: Any]?,
83
+ launchOptions: [AnyHashable: Any]?
84
+ ) -> UIView {
85
+ if let appDelegate = (UIApplication.shared.delegate as? (any ReactNativeFactoryProvider)) ??
86
+ ((UIApplication.shared.delegate as? NSObject)?.value(forKey: "_expoAppDelegate") as? (any ReactNativeFactoryProvider)) {
87
+ return appDelegate.recreateRootView(
88
+ withBundleURL: withBundleURL,
89
+ moduleName: moduleName,
90
+ initialProps: initialProps,
91
+ launchOptions: launchOptions
92
+ )
93
+ }
94
+
95
+ return reactDelegate.reactNativeFactory.recreateRootView(
96
+ withBundleURL: withBundleURL,
97
+ moduleName: moduleName,
98
+ initialProps: initialProps,
99
+ launchOptions: launchOptions
100
+ )
82
101
  }
83
102
 
84
- let rootView = appDelegate.recreateRootView(
103
+ let rootView = recreateRootView(
85
104
  withBundleURL: AppController.sharedInstance.launchAssetUrl(),
86
105
  moduleName: self.rootViewModuleName,
87
106
  initialProps: self.rootViewInitialProperties,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-updates",
3
- "version": "29.0.11",
3
+ "version": "29.0.12",
4
4
  "description": "Fetches and manages remotely-hosted assets and updates to your app's JS bundle.",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -73,5 +73,5 @@
73
73
  "react": "*",
74
74
  "react-native": "*"
75
75
  },
76
- "gitHead": "0d9ae61f3dea2e2b854576859e5b50fca5503fc1"
76
+ "gitHead": "1ab3b9621b78b77b81049ebf06149753a1e0898c"
77
77
  }