expo-invoke 3.0.1 → 3.0.2

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.1');
65
+ exports.default = (0, config_plugins_1.createRunOncePlugin)(withInvoke, 'expo-invoke', '3.0.2');
66
66
  //# sourceMappingURL=withInvoke.js.map
@@ -14,13 +14,15 @@ Pod::Spec.new do |s|
14
14
 
15
15
  s.source_files = 'ios/**/*.{h,m,mm,swift}'
16
16
 
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+.
17
+ # s.module_name tells CocoaPods to name the Swift module "ExpoInvoke" and generate
18
+ # the module map under that name identical to what ExpoUI / ExpoModulesCore do.
19
+ # Setting PRODUCT_MODULE_NAME via xcconfig alone leaves the CocoaPods-generated
20
+ # module map named "expo_invoke" (derived from s.name), causing Swift 6 to emit
21
+ # "underlying Objective-C module 'ExpoInvoke' not found" for every source file
22
+ # because the ObjC module map name doesn't match PRODUCT_MODULE_NAME.
23
+ s.module_name = 'ExpoInvoke'
21
24
  s.pod_target_xcconfig = {
22
- 'PRODUCT_MODULE_NAME' => 'ExpoInvoke',
23
- 'DEFINES_MODULE' => 'YES'
25
+ 'DEFINES_MODULE' => 'YES'
24
26
  }
25
27
 
26
28
  s.dependency 'ExpoModulesCore'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-invoke",
3
- "version": "3.0.1",
3
+ "version": "3.0.2",
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",