HealthKit: Send data to healthkit when app is closed

I am working with a Bluetooth device, and it tracks steps. I can send the steps to HealthKit when the app is running, and that works fine.


I would like to send the step count to HealthKit without the user opening the app. Is this possible?

If the device wakes the app, it can post the data in the background.

How do I make the device "wake the app"?

If the device is a BLE peripheral, you would use CoreBluetooth to pair to the device and register for notifications.

Bluetooth is a insecure connection is probably why. Maybe if you get this peripheral approved by Apple, also UWD will be releasing soon!
HealthKit: Send data to healthkit when app is closed
 
 
Q