Search code examples
iosbluetoothpermissions

What causes this iOS permission prompt for "use Bluetooth for new connections"?


Since iOS13, our app which uses BLE beacons for location, now gets two Bluetooth related permissions prompts.

The first one is understandable and expected:

Prompt to use Bluetooth

The second prompt is not expected, and we don't know why it's happening.

Prompt to "use Bluetooth for new connections"

FYI the app is currently compiled with the previous iOS SDK/XCode.


Solution

  • I think that this second prompt is a new iOS13 variation on "please enable Bluetooth" and that it appears because the user has set Bluetooth to "off" in the control centre, but not turned Bluetooth fully off in Settings.

    The description of "use Bluetooth for new connections" seems to correspond to the "partially enabled" state (white button in control centre).

    This second prompt can be stopped using the CBCentralManagerOptionShowPowerAlertKey: @(NO) option to the CBCentralManager init call.