The current version of the app does not upload sleep data or workout data, both of which are important data sources to include for physical activity behavior change. This PR adds support to query HealthKit for HKCategoryType(.sleepAnalysis) and HKWorkoutType entries and upload them appropriately to our Firestore database.
:gear: Release Notes
Updated the query in PrismaAppDelegate.swift and added additional functionality in PrismaStandard+HealthKit.swift for processing upload paths, which previously only support HKQuantityType objects.
:books: Documentation
N/A
:white_check_mark: Testing
N/A
:pencil: Code of Conduct & Contributing Guidelines
Adding Sleep and Workout Data
:recycle: Current situation & Problem
The current version of the app does not upload sleep data or workout data, both of which are important data sources to include for physical activity behavior change. This PR adds support to query HealthKit for
HKCategoryType(.sleepAnalysis)
andHKWorkoutType
entries and upload them appropriately to our Firestore database.:gear: Release Notes
PrismaAppDelegate.swift
and added additional functionality inPrismaStandard+HealthKit.swift
for processing upload paths, which previously only supportHKQuantityType
objects.:books: Documentation
N/A
:white_check_mark: Testing
N/A
:pencil: Code of Conduct & Contributing Guidelines
By submitting creating this pull request, you agree to follow our Code of Conduct and Contributing Guidelines: