react-native-bluebreeze 0.0.7 → 0.0.8
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/ios/BlueBreezeImpl.swift +2 -2
- package/package.json +1 -1
package/ios/BlueBreezeImpl.swift
CHANGED
|
@@ -319,8 +319,8 @@ struct BlueBreezeError : Error {
|
|
|
319
319
|
throw BlueBreezeError(description: "Characteristic not found")
|
|
320
320
|
}
|
|
321
321
|
|
|
322
|
-
|
|
323
|
-
return []
|
|
322
|
+
let data = try await characteristic.read()
|
|
323
|
+
return data?.export ?? []
|
|
324
324
|
}
|
|
325
325
|
|
|
326
326
|
@objc public func deviceCharacteristicWrite(id: String, serviceId: String, characteristicId: String, data: Array<UInt8>, withResponse: Bool) async throws {
|
package/package.json
CHANGED