expo-invoke 3.0.0 → 3.0.1

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.
@@ -62,5 +62,5 @@ const withInvoke = (config, options) => {
62
62
  });
63
63
  return config;
64
64
  };
65
- exports.default = (0, config_plugins_1.createRunOncePlugin)(withInvoke, 'expo-invoke', '3.0.0');
65
+ exports.default = (0, config_plugins_1.createRunOncePlugin)(withInvoke, 'expo-invoke', '3.0.1');
66
66
  //# sourceMappingURL=withInvoke.js.map
@@ -14,9 +14,14 @@ Pod::Spec.new do |s|
14
14
 
15
15
  s.source_files = 'ios/**/*.{h,m,mm,swift}'
16
16
 
17
- # Override the Swift module name so `import ExpoInvoke` works in the widget extension.
18
- # CocoaPods derives the module name from s.name (expo-invoke expo_invoke), but we need ExpoInvoke.
19
- s.pod_target_xcconfig = { 'PRODUCT_MODULE_NAME' => 'ExpoInvoke' }
17
+ # PRODUCT_MODULE_NAME overrides the Swift module name (expo_invoke ExpoInvoke).
18
+ # DEFINES_MODULE generates a matching ObjC module map so Swift 6 finds a consistent
19
+ # ExpoInvoke module for both Swift and ObjC — without it every source file emits
20
+ # "underlying Objective-C module 'ExpoInvoke' not found" on Xcode 26+.
21
+ s.pod_target_xcconfig = {
22
+ 'PRODUCT_MODULE_NAME' => 'ExpoInvoke',
23
+ 'DEFINES_MODULE' => 'YES'
24
+ }
20
25
 
21
26
  s.dependency 'ExpoModulesCore'
22
27
  # ExpoUI is required: Buttons.swift, DynamicView.swift, Fragment.swift, RedBoxView.swift all import ExpoUI
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-invoke",
3
- "version": "3.0.0",
3
+ "version": "3.0.1",
4
4
  "description": "The complete native-surface-to-JS bridge for Expo. One intent config → Siri, Google Assistant, home screen widgets, Dynamic Island, app icon menus, notification actions, NFC, QR, deep links and more — all through a single useInvoke() hook.",
5
5
  "main": "build/src/index.js",
6
6
  "module": "build/src/index.js",