`aggregateRecord` throws `SpeedSeries_speed_avg` on Android 14
Opened this issue · 1 comments
ugurakin1 commented
Describe the bug
Aggregate calls for Speed
and StepsCadence
records throw an error in Android 14:
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 commented
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.