CBCentralManager does not prompt the user to turn on Bluetooth on iOS 11

Originator:raphaelcruzeiro
Number:rdar://34576627 Date Originated:2017-09-21
Status:Open Resolved:
Product:iOS + SDK Product Version:11.0
Classification:Bug Reproducible:Always
 
Summary:

On the previous versions of iOS, instantiating a CBCentralManager while Bluetooth was off would prompt the user to turn on bluetooth unless CBCentralManagerOptionShowPowerAlertKey was set to false. Since iOS 11, CBCentralManager does not prompt the user anymore regarldess of the value passed on CBCentralManagerOptionShowPowerAlertKey.

Steps to Reproduce:

Instantiate a CBCentralManager with Bluetooth off.

Expected Results:

A system dialog should appear prompting the user to turn on the Bluetooth

Actual Results:

The dialog doesn't appear and CBCentralManager state is always .poweredOff

Version/Build: 11.0 (15A372)


Configuration:

Comments

+1 the same is happening to me

By leandromperez at Dec. 26, 2017, 12:47 p.m. (reply...)

Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!