munim-wifi 0.1.4 → 0.1.6

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/MunimWifi.podspec CHANGED
@@ -25,6 +25,16 @@ Pod::Spec.new do |s|
25
25
  load 'nitrogen/generated/ios/MunimWifi+autolinking.rb'
26
26
  add_nitrogen_files(s)
27
27
 
28
+ # Add header search path for shared C++ headers
29
+ # The generated iOS bridge files include headers like "ScanOptions.hpp"
30
+ # which are located in nitrogen/generated/shared/c++/
31
+ # Use USER_HEADER_SEARCH_PATHS for quoted includes (user headers)
32
+ existing_xcconfig = s.attributes_hash['pod_target_xcconfig'] || {}
33
+ current_user_header_paths = existing_xcconfig['USER_HEADER_SEARCH_PATHS'] || '$(inherited)'
34
+ s.pod_target_xcconfig = existing_xcconfig.merge({
35
+ "USER_HEADER_SEARCH_PATHS" => "#{current_user_header_paths} $(SRCROOT)/nitrogen/generated/shared/c++"
36
+ })
37
+
28
38
  s.dependency 'React-jsi'
29
39
  s.dependency 'React-callinvoker'
30
40
  install_modules_dependencies(s)
@@ -33,7 +33,7 @@ int initialize(JavaVM* vm) {
33
33
  HybridObjectRegistry::registerHybridObjectConstructor(
34
34
  "MunimWifi",
35
35
  []() -> std::shared_ptr<HybridObject> {
36
- static DefaultConstructableObject<JHybridMunimWifiSpec::javaobject> object("com/munimwifi/HybridMunimWifi");
36
+ static DefaultConstructableObject<JHybridMunimWifiSpec::javaobject> object("com/margelo/nitro/munimwifi/HybridMunimWifi");
37
37
  auto instance = object.create();
38
38
  return instance->cthis()->shared();
39
39
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "munim-wifi",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
4
4
  "description": "munim-wifi is a react native package built with Nitro",
5
5
  "main": "./lib/commonjs/index.js",
6
6
  "module": "./lib/module/index.js",