expo-modules-autolinking 3.0.11 → 3.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,13 @@
10
10
 
11
11
  ### 💡 Others
12
12
 
13
+ ## 3.0.12 — 2025-09-18
14
+
15
+ ### 💡 Others
16
+
17
+ - [iOS] Added support for passing pod targets that should be statically linked and not built as frameworks. ([#39742](https://github.com/expo/expo/pull/39742) by [@chrfalch](https://github.com/chrfalch))
18
+ - [Android] Migrated from `kotlinOptions` to `compilerOptions` DSL. ([#39794](https://github.com/expo/expo/pull/39794) by [@huextrat](https://github.com/huextrat))
19
+
13
20
  ## 3.0.11 — 2025-09-16
14
21
 
15
22
  ### 🐛 Bug fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-modules-autolinking",
3
- "version": "3.0.11",
3
+ "version": "3.0.12",
4
4
  "description": "Scripts that autolink Expo modules.",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -46,5 +46,5 @@
46
46
  "require-from-string": "^2.0.2",
47
47
  "resolve-from": "^5.0.0"
48
48
  },
49
- "gitHead": "e1bc61d046f09264a85b7730a1b7ae931b0f0af4"
49
+ "gitHead": "0d9ae61f3dea2e2b854576859e5b50fca5503fc1"
50
50
  }
@@ -37,8 +37,13 @@ module Expo
37
37
  include_tests = @options.fetch(:includeTests, false)
38
38
 
39
39
  # Add any additional framework modules to patch using the patched Podfile class in installer.rb
40
- additional_framework_modules_to_path = @options.fetch(:additionalFrameworkModulesToPatch, [])
41
- @podfile.expo_add_modules_to_patch(additional_framework_modules_to_path) if !additional_framework_modules_to_path.empty?
40
+ # We'll be reading from Podfile.properties.json and optionally parameters passed to use_expo_modules!
41
+ podfile_properties = JSON.parse(File.read(File.join(Pod::Config.instance.project_root, 'Podfile.properties.json'))) rescue {}
42
+ additional_framework_modules_to_patch = @options.fetch(:additionalFrameworkModulesToPatch, []) +
43
+ JSON.parse(podfile_properties['ios.forceStaticLinking'] || "[]")
44
+
45
+ Pod::UI.puts("Forcing static linking for pods: #{additional_framework_modules_to_patch}") if !additional_framework_modules_to_patch.empty?
46
+ @podfile.expo_add_modules_to_patch(additional_framework_modules_to_patch) if !additional_framework_modules_to_patch.empty?
42
47
 
43
48
  project_directory = Pod::Config.instance.project_root
44
49