[Question] Can iOS keep bluetooth connection in background mode? #1121
Replies: 5 comments
-
Yes. It is possible to keep the BLE Connection alive in the background as well. You check out the code and try it out. |
Beta Was this translation helpful? Give feedback.
-
@SAAHIIIL Is it supported in this library by default? Could you indicate some part of code to demonstrate background working for BLE? |
Beta Was this translation helpful? Give feedback.
-
Interested also. We have added a listener for BleManagerModule NativeEventEmitter. However, seems like we are not getting any read event when the app goes into background. |
Beta Was this translation helpful? Give feedback.
-
@riseworld27 The connection would be alive when in background, but your reads and writes would fail in that case, you would have to do reads and writes when the app is open. But ble manager does have such methods but you can check this out. |
Beta Was this translation helpful? Give feedback.
-
I want to know if iOS can keep bluetooth connection in background.
Beta Was this translation helpful? Give feedback.
All reactions