You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can query HKQuantityTypeIdentifierDistanceWalkingRunning but it doesnt return miles, calories or energy the same way it does when returning findWorkouts() is there some way to be able to query the same info in findWorkouts from a starting and end date ?
var workoutRunOptions = {
'startDate': new Date(new Date().getTime() - 24 * 60 * 60 * 1000), // a day ago
'endDate': new Date(), // now
'sampleType': 'HKQuantityTypeIdentifierDistanceWalkingRunning',
'unit': 'm'
}
The text was updated successfully, but these errors were encountered:
I can query
HKQuantityTypeIdentifierDistanceWalkingRunning
but it doesnt return miles, calories or energy the same way it does when returningfindWorkouts()
is there some way to be able to query the same info in findWorkouts from a starting and end date ?The text was updated successfully, but these errors were encountered: