I have an app that is reading data from HealthKit and is calculating sleep statistics for the user going 3 years back. One data point I can offer to the user is the sunrise/sunset times for the current location.
However, if the user has travelled over the last 3 years, then sunrise/sunset calculation needs to be performed on that coordinate, not the present location.
How can I obtain history of time zone or coordinates for the user? (rough 100-500km accuracy) Is this information recored anywhere in HealthKit?