Reputation: 324
I've had a Xamarin Forms application with a binding to a native bluetooth SDK that's been working beautifully on iOS 12.
On iOS 13 the application crashes. I'm assuming this is around the new Bluetooth privacy settings.
But despite initialising an instance of CBCentralManager. I'm not getting the permission prompt.
Also my app in the settings doesn't have an option for bluetooth permissions.
Any guidance would be much appreciated.
Upvotes: 2
Views: 871
Reputation: 81
Got mine Working today, i fixed it with the new Privacy Entry "NSBluetoothAlwaysUsageDescription" in Info.plist.
So try to add the following lines to your Info.plist:
<key>NSBluetoothPeripheralUsageDescription</key>
<string>My description for what i need Bluetooth Privs</string>
<key>NSBluetoothAlwaysUsageDescription</key>
<string>My description for what i need Bluetooth Privs</string>
Greetings
Upvotes: 4