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 ef974ef commit 9a34cb9Copy full SHA for 9a34cb9
src/detection/bluetooth/bluetooth_apple.m
@@ -21,6 +21,8 @@ @interface IOBluetoothDevice()
21
FFBluetoothResult* device = ffListAdd(devices);
22
ffStrbufInitS(&device->name, ioDevice.name.UTF8String);
23
ffStrbufInitS(&device->address, ioDevice.addressString.UTF8String);
24
+ ffStrbufReplaceAllC(&device->address, '-', ':');
25
+ ffStrbufUpperCase(&device->address);
26
ffStrbufInit(&device->type);
27
28
if (ioDevice.batteryPercentSingle)
src/util/apple/Info.plist.in
@@ -10,5 +10,7 @@
10
<string>@PROJECT_VERSION@</string>
11
<key>CFBundleDevelopmentRegion</key>
12
<string>English</string>
13
+ <key>NSBluetoothAlwaysUsageDescription</key>
14
+ <string>For detecting Bluetooth devices</string>
15
</dict>
16
</plist>
0 commit comments