expo-modules-core 2.3.5 → 2.3.7

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,18 @@
10
10
 
11
11
  ### 💡 Others
12
12
 
13
+ ## 2.3.7 — 2025-04-22
14
+
15
+ ### 🐛 Bug fixes
16
+
17
+ - Fixed adding SwiftUI views to navigation header ([#36305](https://github.com/expo/expo/pull/36305) by [@jakex7](https://github.com/jakex7))
18
+
19
+ ## 2.3.6 — 2025-04-21
20
+
21
+ ### 🐛 Bug fixes
22
+
23
+ - Fixed build errors on Windows. ([#36211](https://github.com/expo/expo/pull/36211) by [@kudo](https://github.com/kudo))
24
+
13
25
  ## 2.3.5 — 2025-04-14
14
26
 
15
27
  ### 🐛 Bug fixes
@@ -23,7 +23,7 @@ if (KOTLIN_MAJOR_VERSION >= 2) {
23
23
  }
24
24
 
25
25
  group = 'host.exp.exponent'
26
- version = '2.3.5'
26
+ version = '2.3.7'
27
27
 
28
28
  // List of features that are required by linked modules
29
29
  def coreFeatures = project.findProperty("coreFeatures") ?: []
@@ -76,7 +76,7 @@ android {
76
76
  defaultConfig {
77
77
  consumerProguardFiles 'proguard-rules.pro'
78
78
  versionCode 1
79
- versionName "2.3.5"
79
+ versionName "2.3.7"
80
80
  buildConfigField "String", "EXPO_MODULES_CORE_VERSION", "\"${versionName}\""
81
81
  buildConfigField "boolean", "IS_NEW_ARCHITECTURE_ENABLED", isNewArchitectureEnabled.toString()
82
82
 
@@ -16,7 +16,7 @@ import expo.modules.plugin.gradle.ExpoModuleExtension
16
16
  import org.gradle.api.Project
17
17
  import org.gradle.api.publish.PublishingExtension
18
18
  import org.gradle.internal.extensions.core.extra
19
- import java.net.URI
19
+ import java.io.File
20
20
 
21
21
  internal fun Project.applyDefaultPlugins() {
22
22
  if (!plugins.hasPlugin("com.android.library")) {
@@ -87,7 +87,7 @@ internal fun Project.applyPublishing(expoModulesExtension: ExpoModuleExtension)
87
87
  createExpoPublishToMavenLocalTask(publicationInfo, expoModulesExtension)
88
88
 
89
89
  val npmLocalRepositoryRelativePath = "local-maven-repo"
90
- val npmLocalRepository = URI("file://${project.projectDir.parentFile}/${npmLocalRepositoryRelativePath}")
90
+ val npmLocalRepository = File("${project.projectDir.parentFile}/${npmLocalRepositoryRelativePath}").toURI()
91
91
  publishingExtension().repositories.mavenLocal { mavenRepo ->
92
92
  mavenRepo.name = "NPMPackage"
93
93
  mavenRepo.url = npmLocalRepository
@@ -196,7 +196,15 @@ extension ExpoSwiftUI {
196
196
  super.didMoveToWindow()
197
197
 
198
198
  if window != nil, let parentController = reactViewController() {
199
+ #if !os(macOS)
200
+ if parentController as? UINavigationController == nil {
201
+ // Swift automatically adds the hostingController in the correct place when the parentController
202
+ // is UINavigationController, since it's children are supposed to be only screens
203
+ parentController.addChild(hostingController)
204
+ }
205
+ #else
199
206
  parentController.addChild(hostingController)
207
+ #endif
200
208
  addSubview(hostingController.view)
201
209
  #if os(iOS) || os(tvOS)
202
210
  hostingController.didMove(toParent: parentController)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-modules-core",
3
- "version": "2.3.5",
3
+ "version": "2.3.7",
4
4
  "description": "The core of Expo Modules architecture",
5
5
  "main": "src/index.ts",
6
6
  "types": "build/index.d.ts",
@@ -42,7 +42,7 @@
42
42
  },
43
43
  "devDependencies": {
44
44
  "@testing-library/react-native": "^13.1.0",
45
- "expo-module-scripts": "^4.1.2"
45
+ "expo-module-scripts": "^4.1.3"
46
46
  },
47
- "gitHead": "335e9312f5caf634097354a230f0d4bbbfb9b0ba"
47
+ "gitHead": "f9236bc90dd9a04605c77070a2d06cb151c31c53"
48
48
  }