simplejsble 0.0.33 → 0.0.34

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.
@@ -56,9 +56,11 @@ include(${CMAKE_SOURCE_DIR}/../nitrogen/generated/android/NitroSimplejsble+autol
56
56
  target_include_directories(NitroSimplejsble PRIVATE
57
57
  src/main/cpp
58
58
  ../cpp
59
+ ${JNI_INCLUDE_DIRS}
59
60
  )
60
61
 
61
62
  find_library(LOG_LIB log)
63
+ find_package(JNI REQUIRED)
62
64
 
63
65
  # Link all libraries together
64
66
  target_link_libraries(NitroSimplejsble
@@ -66,6 +68,7 @@ target_link_libraries(NitroSimplejsble
66
68
  simpleble::simpleble
67
69
  android
68
70
  -ldl
71
+ ${JNI_LIBRARIES}
69
72
  )
70
73
 
71
74
  # Allow undefined JNI symbols (resolved at runtime)
@@ -26,17 +26,16 @@
26
26
  <key>HeadersPath</key>
27
27
  <string>Headers</string>
28
28
  <key>LibraryIdentifier</key>
29
- <string>ios-arm64-simulator</string>
29
+ <string>macos-arm64_x86_64</string>
30
30
  <key>LibraryPath</key>
31
31
  <string>libsimpleble.a</string>
32
32
  <key>SupportedArchitectures</key>
33
33
  <array>
34
34
  <string>arm64</string>
35
+ <string>x86_64</string>
35
36
  </array>
36
37
  <key>SupportedPlatform</key>
37
- <string>ios</string>
38
- <key>SupportedPlatformVariant</key>
39
- <string>simulator</string>
38
+ <string>macos</string>
40
39
  </dict>
41
40
  <dict>
42
41
  <key>BinaryPath</key>
@@ -44,16 +43,17 @@
44
43
  <key>HeadersPath</key>
45
44
  <string>Headers</string>
46
45
  <key>LibraryIdentifier</key>
47
- <string>macos-arm64_x86_64</string>
46
+ <string>ios-arm64-simulator</string>
48
47
  <key>LibraryPath</key>
49
48
  <string>libsimpleble.a</string>
50
49
  <key>SupportedArchitectures</key>
51
50
  <array>
52
51
  <string>arm64</string>
53
- <string>x86_64</string>
54
52
  </array>
55
53
  <key>SupportedPlatform</key>
56
- <string>macos</string>
54
+ <string>ios</string>
55
+ <key>SupportedPlatformVariant</key>
56
+ <string>simulator</string>
57
57
  </dict>
58
58
  </array>
59
59
  <key>CFBundlePackageType</key>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simplejsble",
3
- "version": "0.0.33",
3
+ "version": "0.0.34",
4
4
  "description": "React Native Bluetooth Low Energy library using SimpleBLE with Nitro Modules",
5
5
  "main": "lib/index",
6
6
  "module": "lib/index",