Background BLE Advertising not working in iOS 10.0.(1), ios 10.1 b1 only PARTIALLY fixes it:

Originator:Pich.Dominik
Number:rdar://28436733 Date Originated:2016-09-23
Status:Open Resolved:No
Product:IOS SDK Product Version:10.0.(1) & 10.1 b1
Classification:Serious Bug Reproducible:Always
 
ummary:
BLE background advertising still not working (as in previous betas), the OS permission dialog would pop up, but after brought the peripheral app to background, the scanner which explicitly scanned for it cannot find it anymore.
---
in ios 10.1 beta 1 this is only PARTIALLY fixed.. the advertising works always BUT the peripheral cannot be read/written to while the phone is locked! [so .. pretty useless]

Steps to Reproduce:
the App LightBlue can see this device.

But when I background my app it shows up only with "No services" label under the "Unnamed" device name label.)

THEN When the screen turns off, even that disappears after ~3 minutes



Expected Results:
it works like in ios8 & ios9. it advertises all the time and it can be read/written fine

Actual Results:
it stops advertising in background on ios 10.0.1 
and it cant be read while phone is locked in ios 10.1

Version:
10.0.1 & 10.1 b1

Notes:


Configuration:
iPhone 5s, iPhone 6

Comments


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!