Skip to content

Commit 6a55b6d

Browse files
committed
fix: ios fix serviceUUIDs not reported correctly
1 parent a3985e2 commit 6a55b6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bluetooth.ios.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,7 @@ export class AdvertismentData {
510510
const serviceUuids = this.advData.objectForKey(CBAdvertisementDataServiceUUIDsKey);
511511
if (serviceUuids) {
512512
for (let i = 0; i < serviceUuids.count; i++) {
513-
result.push(serviceUuids[i].toString());
513+
result.push(CBUUIDToString(serviceUuids[i]));
514514
}
515515
}
516516
return result;

0 commit comments

Comments
 (0)