Wake up the app even if it is not running in the background

This shouldn't be the first question on the matter, but after reading a lot of articles and docs, I still doubt the possibility.

According to Apple document .

Preservation and restoration of the state
Since state save and restore is built into Core Bluetooth, your application can take part in this to ask the system to save the state of your applications in the center and peripheral managers, and continue to perform certain Bluetooth-related tasks on their behalf, even if your application is not longer. move. When one of these tasks completes, the system reloads your application in the background and gives your application the ability to restore its state and handle the event accordingly. In the case of the home security application described above, the system will monitor the connection request and restart the application again to control the central manager: didConnectPeripheral: delegate callback when the user is back home and the connection request is complete.

Does this mean that we can wake up the application even if it is not running in the background? and on what BT event and code implementation can we wake up our application and run it in the background?

+3
ios bluetooth-lowenergy


source to share


No one has answered this question yet

Check out similar questions:

13
Failed to run state recovery code for BLE on iOS
13
Saving and restoring Bluetooth kernel state not working, unable to restart app in background
7
Reducing memory size for background recording in iOS
five
How to start saving and restoring Bluetooth kernel state
2
iOS Bluetooth monitoring without iBeacon monitoring
1
A background task on startup pauses the app after a random time
0
Wake Up iOS App with BLE Ads
0
Maintaining state Corebluetooth willRestoreState
0
Persist Bluetooth BLE state: CBCentralManager will not detect services in the background
0
best practice techniques to keep iOS BLE app running in the background



All Articles
Loading...
X
Show
Funny
Dev
Pics