We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21546d3 commit 81d7413Copy full SHA for 81d7413
src/internal/ble/provider.ts
@@ -88,6 +88,7 @@ function fixScanningOptions<T extends ScanningOptions>(options: T): T {
88
if (copy.iBeaconUuids === undefined) {
89
copy.iBeaconUuids = [];
90
}
91
+ copy.iBeaconUuids = copy.iBeaconUuids.map((uuid) => uuid.toLowerCase());
92
return copy;
93
94
@@ -97,7 +98,7 @@ function filterByUuid(
97
98
): BleScanResult {
99
if (uuids.length === 0) return results;
100
const filteredSeen = results.seen.filter(
- (info) => info.iBeacon && uuids.includes(info.iBeacon.uuid)
101
+ (info) => info.iBeacon && uuids.includes(info.iBeacon.uuid.toLowerCase())
102
);
103
if (filteredSeen.length === 0) return null;
104
return { ...results, seen: filteredSeen };
0 commit comments