expo-brownfield 55.0.24 → 55.0.26
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 +10 -0
- package/android/build.gradle +2 -2
- package/package.json +5 -5
- package/plugin/templates/ios/ReactNativeHostManager.swift +10 -6
- package/prebuilds/output/debug/xcframeworks/ExpoBrownfield.tar.gz +0 -0
- package/prebuilds/output/release/xcframeworks/ExpoBrownfield.tar.gz +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -10,6 +10,16 @@
|
|
|
10
10
|
|
|
11
11
|
### 💡 Others
|
|
12
12
|
|
|
13
|
+
## 55.0.26 — 2026-07-15
|
|
14
|
+
|
|
15
|
+
_This version does not introduce any user-facing changes._
|
|
16
|
+
|
|
17
|
+
## 55.0.25 — 2026-06-25
|
|
18
|
+
|
|
19
|
+
### 🎉 New features
|
|
20
|
+
|
|
21
|
+
- [iOS] Make `ReactNativeHostManager` accessible directly to Objective-C. ([#46227](https://github.com/expo/expo/pull/46227) by [@gabrieldonadel](https://github.com/gabrieldonadel))
|
|
22
|
+
|
|
13
23
|
## 55.0.24 — 2026-05-19
|
|
14
24
|
|
|
15
25
|
### 🐛 Bug fixes
|
package/android/build.gradle
CHANGED
|
@@ -4,7 +4,7 @@ plugins {
|
|
|
4
4
|
}
|
|
5
5
|
|
|
6
6
|
group = 'expo.modules.brownfield'
|
|
7
|
-
version = '55.0.
|
|
7
|
+
version = '55.0.26'
|
|
8
8
|
|
|
9
9
|
expoModule {
|
|
10
10
|
canBePublished false
|
|
@@ -14,7 +14,7 @@ android {
|
|
|
14
14
|
namespace "expo.modules.brownfield"
|
|
15
15
|
defaultConfig {
|
|
16
16
|
versionCode 1
|
|
17
|
-
versionName '55.0.
|
|
17
|
+
versionName '55.0.26'
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expo-brownfield",
|
|
3
|
-
"version": "55.0.
|
|
3
|
+
"version": "55.0.26",
|
|
4
4
|
"description": "Toolkit and APIs for adding brownfield setup to Expo projects",
|
|
5
5
|
"main": "./build/index.js",
|
|
6
6
|
"types": "./build/index.d.ts",
|
|
@@ -49,12 +49,12 @@
|
|
|
49
49
|
"preset": "expo-module-scripts"
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"@expo/env": "~2.1.
|
|
52
|
+
"@expo/env": "~2.1.3",
|
|
53
53
|
"chalk": "^4.1.2",
|
|
54
54
|
"commander": "^14.0.3",
|
|
55
55
|
"diff": "^5.2.0",
|
|
56
|
-
"expo-build-properties": "~55.0.
|
|
57
|
-
"expo-manifests": "~55.0.
|
|
56
|
+
"expo-build-properties": "~55.0.16",
|
|
57
|
+
"expo-manifests": "~55.0.19",
|
|
58
58
|
"ora": "^5.4.1",
|
|
59
59
|
"prompts": "^2.4.2"
|
|
60
60
|
},
|
|
@@ -67,5 +67,5 @@
|
|
|
67
67
|
"expo": "*",
|
|
68
68
|
"react": "*"
|
|
69
69
|
},
|
|
70
|
-
"gitHead": "
|
|
70
|
+
"gitHead": "c8f16914a2713c37fe446c46d613004626b3e6b3"
|
|
71
71
|
}
|
|
@@ -10,19 +10,23 @@ import UIKit
|
|
|
10
10
|
internal import EXDevMenu
|
|
11
11
|
#endif
|
|
12
12
|
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
@objc
|
|
14
|
+
public class ReactNativeHostManager: NSObject {
|
|
15
|
+
@objc public static let shared = ReactNativeHostManager()
|
|
15
16
|
|
|
16
17
|
private var reactNativeDelegate: ExpoReactNativeFactoryDelegate?
|
|
17
18
|
private var reactNativeFactory: RCTReactNativeFactory?
|
|
18
19
|
private var firstLoad: Bool = true
|
|
19
20
|
private var firstLoadInitialized: Bool = false
|
|
20
21
|
|
|
22
|
+
private override init() {
|
|
23
|
+
super.init()
|
|
24
|
+
}
|
|
21
25
|
/**
|
|
22
26
|
* Initializes ReactNativeHostManager instance
|
|
23
27
|
* Instance can be initialized only once
|
|
24
28
|
*/
|
|
25
|
-
public func initialize() {
|
|
29
|
+
@objc public func initialize() {
|
|
26
30
|
if firstLoadInitialized {
|
|
27
31
|
return
|
|
28
32
|
}
|
|
@@ -36,7 +40,7 @@ public class ReactNativeHostManager {
|
|
|
36
40
|
/**
|
|
37
41
|
* Creates the React Native view using RCTReactNativeFactory
|
|
38
42
|
*/
|
|
39
|
-
public func loadView(
|
|
43
|
+
@objc public func loadView(
|
|
40
44
|
moduleName: String = "main",
|
|
41
45
|
initialProps: [AnyHashable: Any]?,
|
|
42
46
|
launchOptions: [AnyHashable: Any]?
|
|
@@ -63,7 +67,7 @@ public class ReactNativeHostManager {
|
|
|
63
67
|
/**
|
|
64
68
|
* Initializes a React Native instance
|
|
65
69
|
*/
|
|
66
|
-
public func initializeInstance() {
|
|
70
|
+
@objc public func initializeInstance() {
|
|
67
71
|
let delegate = ReactNativeDelegate()
|
|
68
72
|
reactNativeFactory = ExpoReactNativeFactory(delegate: delegate)
|
|
69
73
|
delegate.dependencyProvider = RCTAppDependencyProvider()
|
|
@@ -74,7 +78,7 @@ public class ReactNativeHostManager {
|
|
|
74
78
|
* Cleans up the previous instance of React Native
|
|
75
79
|
* to prevent memory leaks
|
|
76
80
|
*/
|
|
77
|
-
public func cleanupPreviousInstance() {
|
|
81
|
+
@objc public func cleanupPreviousInstance() {
|
|
78
82
|
if let rootViewFactory = reactNativeFactory?.rootViewFactory {
|
|
79
83
|
rootViewFactory.setValue(nil, forKey: "_reactHost")
|
|
80
84
|
reactNativeDelegate = nil
|
|
Binary file
|
|
Binary file
|