It's probably related to the "Just Works" pairing method that DOESN'T happen in those cases I am seeing the alert.
Got some heavy-wight workaround idea sketch: split the app into two with the second one being background only process. Specify CBConnectPeripheralOptionNotifyOnConnectionKey / CBConnectPeripheralOptionNotifyOnDisconnectionKey, CBConnectPeripheralOptionNotifyOnNotificationKey keys being false and make the "connect" call from there. Then somehow (XPC?) communicate data back to the main app.
There must be an easier way!
Topic:
App & System Services
SubTopic:
Networking
Tags: