HealthKit should update the relevant quantity types when a new workout is logged

Originator:mert
Number:rdar://21638258 Date Originated:01-Jul-2015 01:13 PM
Status:Open Resolved:
Product:iOS SDK Product Version:9.0
Classification:Enhancement Reproducible:Always
 
Summary:
When logging a new HKWorkout that encapsulates physical activity, the quantity types that are relevant to the workout don’t get updated. Workouts are kept entirely separately from quantity types.

Steps to Reproduce:
Note the HKQuantityTypeIdentifierDistanceWalkingRunning items.
Create a new HKWorkout with activity type HKWorkoutActivityTypeRunning.
Log workout.
Check the HKQuantityTypeIdentifierDistanceWalkingRunning items.

Expected Results:
HKQuantityTypeIdentifierDistanceWalkingRunning items should be updated with the new data from the workout.

Actual Results:
Workout is logged separately from HKQuantityTypeIdentifierDistanceWalkingRunning items.

Regression:
N/A

Notes:
N/A

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!