Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add missing support to ElevationGained aggregation #129

Merged
merged 1 commit into from
Aug 4, 2024

Conversation

gabrielgouv
Copy link
Contributor

This add support to ElevationGained aggregation.

Currently an exception is thrown when trying to perform aggregation with ElevationGained. However, Health Connect supports aggregation of this data type.

{
  "result": {
    "ELEVATION_GAINED_TOTAL": {
      "inFeet": 75.45931758530183,
      "inInches": 905.511811023622,
      "inKilometers": 0.023,
      "inMeters": 23,
      "inMiles": 0.014291572942945556
    },
    "dataOrigins": [
      "androidx.health.connect.client.devtool"
    ]
  }
}

@gabrielgouv gabrielgouv changed the title fix: add missing support to elevation gained aggregation fix: add missing support to ElevationGained aggregation Aug 3, 2024
Copy link
Owner

@matinzd matinzd left a comment

Choose a reason for hiding this comment

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

Thanks for the contribution! I might have missed this.

@matinzd matinzd merged commit f513500 into matinzd:main Aug 4, 2024
3 checks passed
@matinzd
Copy link
Owner

matinzd commented Aug 4, 2024

Included in v2.2.0.

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.

2 participants