Hi
I'm working on the app for sleep analysis and positional therapy. Based on accelerometer and gyroscope it defines in which position user is sleeping and sends vibration to prevent sleeping on right side.
The question is how to run it for an 8 hours ?
There are 1 hour limitation for WKExtendedRuntimeSession, so it is not an option. For background mode "sleep analysis" doesn't fit to available categories: workout, audio, etc.
There are apps in AppStore that works over a night (e.g. SensorLog), so it looks like a possible thing to do.