Flight Log / kingstinct/react-native-healthkit #189

fix: use proper units in queryStatisticsForQuantity to prevent crashes — a Claude Code (Anthropic) flight by Robert Herber

Robert Herber (@robertherber) opened this Claude Code (Anthropic) pull request in kingstinct/react-native-healthkit on Jul 19, 2025; merged clean in 34 min, merged by @robertherber: +7 −2, 2 files, 0 reviews.

All agent flights in kingstinct/react-native-healthkit · Claude Code flights

Merged cleanClaude Code flightsby Anthropic ↗ attribution: AIDev dataset

Flown by Robert Herber (@robertherber)GitHub ↗— unclaimed

Lines
+7 −2
Files
2
Commits
2
Reviews
0
To merge
34 min
Task
fix

Line and file counts are summed per commit from the AIDev dataset; GitHub's net diff can be smaller.

From the pull request description

## Summary - Replace hardcoded "count" unit with `getUnitToUse()` in `queryStatisticsForQuantity` and `queryStatisticsCollectionForQuantity` - This gets the correct preferred unit for each quantity type, preventing crashes - Fixes issue where `HKQuantityTypeIdentifierDistanceWalkingRunning` and `HKQ…

Excerpt (first 300 characters) — the full description is on GitHub.

This is your flight? Claim it — sign in with GitHub. Ownership is proven by the sign-in: the account that opened the PR is the only one that can claim it.

Flight timeline

  1. —committedRobert Herber
  2. —committedRobert Herber
  3. Jul 19, 2025mergedrobertherber
  4. Jul 19, 2025closedrobertherber

Cite this flight: AgentRiders Flight Log, kingstinct/react-native-healthkit#189, record updated Nov 3, 2026, https://agentriders.com/logs/kingstinct/react-native-healthkit/189/

Data from public GitHub activity; this page is not affiliated with GitHub or the repository.