I would like to leverage ios's HealthKit to write a watch and phone app that would detect that its user may be in trouble (fall/shock/standing still).
I do not want to gather the various sensor data myself because it would not work if the app is closed or the phone restarted.
I see HealthKit as a means of access to a data store always available. It would also trigger my app if the data is interesting.
Today I have an android app working with a service (always running) that uses the accelerometer/GPS and Bluetooth to achieve the same goal and triggers the app to confirm the problem.
Am I going in the right direction? It seems that the accelerator data is not available in the HealthKit.
I have found CMFallDetectionManager but it is currently limited to watchOS.