Read characteristic in background?
Prerequisites
- [X] I checked the documentation and FAQ without finding a solution
- [X] I checked to make sure that this issue has not already been filed
- [X] I'm sure that question is related to the library itself and not Bluetooth Low Energy or Classic in general. If that so, please post your question on StackOverflow.
- [X] I'm running the latest version
Question
Someone already tested using with background-fetch to read from a device connected in foreground?
Question related code
No response
I'm not using background fetch but I am using react-native-background actions to keep a task running indefinitely on iOS and Android that pulls data from a ble device at roughly 15Hz and also subscribes to location updates.
I'm not using background fetch but I am using react-native-background actions to keep a task running indefinitely on iOS and Android that pulls data from a ble device at roughly 15Hz and also subscribes to location updates.
Are you sending this to a database or saving locally in a state?
@contactsimonwilson
It should work with react-native-background-actions. Similar case https://github.com/dotintent/react-native-ble-plx/issues/1172