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

aggregateRecord throws SpeedSeries_speed_avg on Android 14 #149

Open
ugurakin1 opened this issue Sep 4, 2024 · 1 comment
Open

aggregateRecord throws SpeedSeries_speed_avg on Android 14 #149

ugurakin1 opened this issue Sep 4, 2024 · 1 comment

Comments

@ugurakin1
Copy link
Contributor

Describe the bug
Aggregate calls for Speed and StepsCadence records throw an error in Android 14:
image

The underlying error is a bug on Android reported and tracked here.

To Reproduce
Call aggregateRecord for record types StepsCadence or Speed (possibly more) in Android 14 with any time range.

Expected behavior
Speed avg aggregate should fail due to bug in Android, min/max aggregates should succeed.

Environment:

  • Health Connect Version: 3
  • React Native Version: 0.74.5
  • New architecture enabled: Yes?
  • Using Expo: No
  • Android API Level: e.g API 34 (Android 14)
@ugurakin1
Copy link
Contributor Author

ugurakin1 commented Sep 4, 2024

Just documenting it here, not sure if any action is necessary. It could be nice to fail open all the other aggregates when only one aggregate call fails. Optionally, accepting a parameter to give consumers of this library control over what aggregations they request could be an idea.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant