EAAccessoryDidConnectNotification is never received on iOS 11
| Originator: | eric | ||
| Number: | rdar://32602130 | Date Originated: | June 6 2017, 5:00 PM |
| Status: | Open | Resolved: | |
| Product: | iOS + SDK | Product Version: | iOS 11.0 (15A5278f) |
| Classification: | Reproducible: | yes |
Area: External Accessory Framework Summary: As of iOS 11, we never receive a EAAccessoryDidConnectNotification via the [NSNotificationCenter defaultCenter] (even after invoking [EAAccessoryManager.sharedAccessoryManager registerForLocalNotifications]). This was not the behavior as of iOS 10 and below. This prevents our application from connecting to our device. Steps to Reproduce: Pair our Bluetooth device via the Settings app and wait for callbacks via the EAAccessory notification methods. Expected Results: We expect to receive an EAAccessoryDidConnectNotification from the -[NSNotificationCenter defaultCenter] after invoking [EAAccessoryManager.sharedAccessoryManager registerForLocalNotifications]. This was the behavior as of iOS 10 and below. This prevents our application from connecting to our device. Observed Results: No EAAccessoryDidConnectNotification notifications are sent via the -[NSNotificationCenter defaultCenter]. The device is shown as "Connected" via the system "Bluetooth" settings when this occurs. We have tried unpairing and re-pairing the device, but still have yet to receive any callbacks or notifications.
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!
Marked as duplicate of rdar://31439542