react-native-ble-nitro 1.0.0-beta.11 → 1.0.0-beta.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/BleNitro.podspec +1 -17
- package/package.json +1 -1
package/BleNitro.podspec
CHANGED
|
@@ -23,33 +23,17 @@ Pod::Spec.new do |s|
|
|
|
23
23
|
# Implementation (C++ objects)
|
|
24
24
|
"cpp/**/*.{hpp,cpp}",
|
|
25
25
|
]
|
|
26
|
-
# s.swift_version = "5.0"
|
|
27
|
-
|
|
28
|
-
# Nitro dependencies
|
|
29
|
-
# s.dependency "React-Core"
|
|
30
|
-
# s.dependency "NitroModules", "0.26.4"
|
|
31
26
|
|
|
32
27
|
# iOS frameworks
|
|
33
28
|
s.frameworks = "CoreBluetooth"
|
|
34
29
|
|
|
35
|
-
# Base build settings (will be merged with autolinking settings)
|
|
36
|
-
# base_xcconfig = {
|
|
37
|
-
# 'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) FOLLY_NO_CONFIG FOLLY_MOBILE=1 FOLLY_USE_LIBCPP=1',
|
|
38
|
-
# 'CLANG_CXX_LIBRARY' => 'libc++',
|
|
39
|
-
# 'OTHER_CPLUSPLUSFLAGS' => '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1'
|
|
40
|
-
# }
|
|
41
|
-
|
|
42
|
-
# Merge with existing pod_target_xcconfig from autolinking
|
|
43
|
-
current_xcconfig = s.pod_target_xcconfig || {}
|
|
44
|
-
s.pod_target_xcconfig = base_xcconfig.merge(current_xcconfig)
|
|
45
|
-
|
|
46
30
|
s.user_target_xcconfig = {
|
|
47
31
|
'OTHER_LDFLAGS' => '-lc++'
|
|
48
32
|
}
|
|
49
33
|
|
|
50
34
|
# Apply Nitro autolinking
|
|
51
35
|
load 'nitrogen/generated/ios/BleNitro+autolinking.rb'
|
|
52
|
-
add_nitrogen_files(
|
|
36
|
+
add_nitrogen_files(s)
|
|
53
37
|
|
|
54
38
|
s.dependency 'React-jsi'
|
|
55
39
|
s.dependency 'React-callinvoker'
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-ble-nitro",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.12",
|
|
4
4
|
"description": "High-performance React Native BLE library built on Nitro Modules - drop-in replacement for react-native-ble-plx",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|