Skip to content

Conversation

iarata
Copy link
Contributor

@iarata iarata commented Jun 12, 2025

This pull request introduces support for new health data types and units, specifically SPEED for Android and WALKING_SPEED for iOS, along with the METER_PER_SECOND unit.

@iarata iarata requested a review from Copilot June 12, 2025 08:41
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This pull request adds support for new health data types and units to enable speed-related metrics across platforms.

  • Bump package versions to 13.0.2 in pubspec.yaml and podspec.
  • Introduce new health data types (SPEED for Android and WALKING_SPEED for iOS) along with the METER_PER_SECOND unit in the enum, mapping dictionaries, and platform-specific implementations.
  • Update documentation, sample code, and changelog to reflect these new additions.

Reviewed Changes

Copilot reviewed 10 out of 10 changed files in this pull request and generated no comments.

Show a summary per file
File Description
packages/health/pubspec.yaml Updated version number to 13.0.2
packages/health/lib/src/heath_data_types.dart Added WALKING_SPEED and SPEED to the HealthDataType enum and mapping
packages/health/lib/health.g.dart Updated generated mappings for new health data types and unit
packages/health/ios/health.podspec Bumped version number to 13.0.2
packages/health/ios/Classes/SwiftHealthPlugin.swift Added HKUnit and sample type for WALKING_SPEED on iOS
packages/health/ios/Classes/HealthConstants.swift Introduced new constants for WALKING_SPEED and METER_PER_SECOND
packages/health/example/lib/util.dart Updated sample lists to include new data types
packages/health/android/src/main/kotlin/cachet/plugins/health/HealthPlugin.kt Added new constant and mapping support for SPEED and SpeedRecord
packages/health/README.md Updated documentation to include new health data type and unit
packages/health/CHANGELOG.md Documented the changes for version 13.0.2

@iarata iarata merged commit b92216c into health-13 Jun 12, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant