After the App is killed by the user, if there is a way to resume the previous BLE connection after ibeacon waking up?
In my iPhone application, I could manage to wake up the app using iBeacon after the App is killed by the user. I could trigger local notifications during the wake-up period, but when it comes to BLE related tasks not there is no response at all. No scan callback no connect callback.
Edit:
- The BLE background is enabled.
- It scans for a peripheral with the identifier that is previously bonded with iPhone. The identifier is store in Userdefaults.
- For pending connection, when the App is killed, it will call the disconnect callback. No pending connection I guess.
- I haven't config the BLE state restoration yet.
connect
indidDisconnect
. – Paulw11