munim-bluetooth 0.2.3 → 0.2.4

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.
@@ -22,8 +22,13 @@ Pod::Spec.new do |s|
22
22
  "cpp/**/*.{hpp,cpp}",
23
23
  ]
24
24
 
25
- load 'nitrogen/generated/ios/MunimBluetooth+autolinking.rb'
26
- add_nitrogen_files(s)
25
+ autolinking_script = File.join(__dir__, "nitrogen/generated/ios/MunimBluetooth+autolinking.rb")
26
+ if File.exist?(autolinking_script)
27
+ load autolinking_script
28
+ add_nitrogen_files(s)
29
+ else
30
+ Pod::UI.puts "[MunimBluetooth] Skipping Nitro autolinking – #{autolinking_script} not found"
31
+ end
27
32
 
28
33
  s.dependency 'React-jsi'
29
34
  s.dependency 'React-callinvoker'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "munim-bluetooth",
3
- "version": "0.2.3",
3
+ "version": "0.2.4",
4
4
  "description": "A comprehensive React Native library for all your Bluetooth Low Energy (BLE) needs, supporting both peripheral and central roles with Expo support",
5
5
  "main": "./lib/commonjs/index.js",
6
6
  "module": "./lib/module/index.js",