IOS security does not allow listing paired devices. see:
https://wojciechkulik.pl/ios/swift-bluetooth-low-energy-how-to-get-paired-devices
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I am using this 32feet Library (InTheHand.Net.Bluetooth - Bluetooth Classic NuGet package) to get a list of paired devices In my Xamarin.Forms app. I can get a device list in Android but not in iOS. when I call to BluetoothClient.PairedDevices, it returns values when on Android, but on iOS it's always empty.
Does this library have support for iOS or is there any mistake in the code, do we have to add any configuration in info.plist file?
I am attaching the code for reference(which is in C#).
BluetoothClient client = new BluetoothClient(); foreach (var device in client.PairedDevices) { GeolocationDevices.Add(device.DeviceName); }
Here, is the permission I allow in info.plist file Info.Plist file
Can anyone suggest me an idea if I am missing anything regarding provisioning profiles, info.plist permissions etc.
Thanks in advance.
IOS security does not allow listing paired devices. see:
https://wojciechkulik.pl/ios/swift-bluetooth-low-energy-how-to-get-paired-devices