HealthKit: Send data from Bluetooth LE heart rate monitor to healthkit when app is closed

159 Views Asked by At

I am working with a BLE peripheral that tracks heart rate. I can sync the data to HealthKit when the app is running and it is working fine.

I would like to send the heart rate to HealthKit without user opening the app. It is mentioned in the documentation that the direct import of data is possible from Bluetooth LE heart rate monitors to HealthKit.

Link : https://developer.apple.com/documentation/healthkit/hksource?language=objc

Any help would be greatly appreciated.

0

There are 0 best solutions below