Post

Replies

Boosts

Views

Activity

Reply to Health kit - How to Get shared health data along with my health data Programmatically
To get your own and shared data with HealthKit programmatically, you need to request permission to read the right data types through HKHealthStore, then run HKSampleQuery without predicates to get all the samples, and check the data source through HKSource to distinguish who provided them. Do not forget that the user must authorise access to this data.
Jul ’25