@capacitor-community/bluetooth-le 7.3.0 → 8.0.0-0
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/CapacitorCommunityBluetoothLe.podspec +17 -17
- package/LICENSE +21 -21
- package/Package.swift +28 -0
- package/android/build.gradle +71 -68
- package/android/src/main/AndroidManifest.xml +22 -22
- package/android/src/main/java/com/capacitorjs/community/plugins/bluetoothle/BluetoothLe.kt +1094 -1094
- package/android/src/main/java/com/capacitorjs/community/plugins/bluetoothle/Conversion.kt +51 -51
- package/android/src/main/java/com/capacitorjs/community/plugins/bluetoothle/Device.kt +771 -771
- package/android/src/main/java/com/capacitorjs/community/plugins/bluetoothle/DeviceList.kt +28 -28
- package/android/src/main/java/com/capacitorjs/community/plugins/bluetoothle/DeviceScanner.kt +189 -189
- package/dist/esm/bleClient.d.ts +278 -278
- package/dist/esm/bleClient.js +361 -361
- package/dist/esm/bleClient.js.map +1 -1
- package/dist/esm/config.d.ts +53 -53
- package/dist/esm/config.js +2 -2
- package/dist/esm/conversion.d.ts +56 -46
- package/dist/esm/conversion.js +134 -117
- package/dist/esm/conversion.js.map +1 -1
- package/dist/esm/definitions.d.ts +352 -352
- package/dist/esm/definitions.js +42 -42
- package/dist/esm/index.d.ts +5 -5
- package/dist/esm/index.js +5 -5
- package/dist/esm/plugin.d.ts +2 -2
- package/dist/esm/plugin.js +4 -4
- package/dist/esm/queue.d.ts +3 -3
- package/dist/esm/queue.js +17 -17
- package/dist/esm/queue.js.map +1 -1
- package/dist/esm/timeout.d.ts +1 -1
- package/dist/esm/timeout.js +9 -9
- package/dist/esm/validators.d.ts +1 -1
- package/dist/esm/validators.js +11 -11
- package/dist/esm/validators.js.map +1 -1
- package/dist/esm/web.d.ts +57 -57
- package/dist/esm/web.js +403 -403
- package/dist/esm/web.js.map +1 -1
- package/dist/plugin.cjs.js +965 -947
- package/dist/plugin.cjs.js.map +1 -1
- package/dist/plugin.js +965 -947
- package/dist/plugin.js.map +1 -1
- package/ios/{Plugin → Sources/BluetoothLe}/Conversion.swift +83 -83
- package/ios/{Plugin → Sources/BluetoothLe}/Device.swift +423 -423
- package/ios/{Plugin → Sources/BluetoothLe}/DeviceListView.swift +121 -121
- package/ios/{Plugin → Sources/BluetoothLe}/DeviceManager.swift +503 -502
- package/ios/{Plugin → Sources/BluetoothLe}/Logging.swift +8 -8
- package/ios/{Plugin → Sources/BluetoothLe}/Plugin.swift +775 -737
- package/ios/{Plugin → Sources/BluetoothLe}/ThreadSafeDictionary.swift +15 -13
- package/ios/Tests/BluetoothLeTests/ConversionTests.swift +55 -0
- package/ios/Tests/BluetoothLeTests/PluginTests.swift +27 -0
- package/package.json +115 -111
- package/ios/Plugin/Info.plist +0 -24
- package/ios/Plugin/Plugin.h +0 -10
- package/ios/Plugin/Plugin.m +0 -41
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import Capacitor
|
|
2
|
-
|
|
3
|
-
func log(_ items: Any..., separator: String = " ", terminator: String = "\n") {
|
|
4
|
-
CAPLog.print("⚡️ BluetoothLe -", terminator: separator)
|
|
5
|
-
for (itemIndex, item) in items.enumerated() {
|
|
6
|
-
CAPLog.print(item, terminator: itemIndex == items.count - 1 ? terminator : separator)
|
|
7
|
-
}
|
|
8
|
-
}
|
|
1
|
+
import Capacitor
|
|
2
|
+
|
|
3
|
+
func log(_ items: Any..., separator: String = " ", terminator: String = "\n") {
|
|
4
|
+
CAPLog.print("⚡️ BluetoothLe -", terminator: separator)
|
|
5
|
+
for (itemIndex, item) in items.enumerated() {
|
|
6
|
+
CAPLog.print(item, terminator: itemIndex == items.count - 1 ? terminator : separator)
|
|
7
|
+
}
|
|
8
|
+
}
|