finds.dev← search

// the find

lucaspbordignon/rn-apple-healthkit

★ 527 · Objective-C · MIT · updated Jan 2023

A React Native package for interacting with Apple HealthKit

A React Native bridge to Apple HealthKit, covering activity, vitals, sleep, dietary data, and write-back for a handful of metrics. It's explicitly deprecated — the README's first word is 'Deprecated' — in favor of react-native-health by AgencyEnterprise. Anyone stumbling on this in 2024+ should go there instead.

- Good category coverage across the HealthKit surface area: activity, body metrics, vitals, sleep, mindfulness, dietary — all split into clean Objective-C category files rather than one monolithic blob.

- Per-method docs in the /docs directory are a nice touch — each method gets its own file with parameters and return shape documented.

- TypeScript definitions in index.d.ts exist, which saves time even if they're incomplete by modern standards.

- Deprecated since at least 2023-01-06 with no maintenance — any React Native upgrade past 0.70 is on you to debug, and the new arch (JSI/Fabric) is not supported.

- No background delivery support — HealthKit's HKObserverQuery with background delivery is a core use case for fitness apps, and it's barely present here.

- Write-back is extremely limited: steps, weight, height, BMI, body fat, lean mass, mindfulness. You can't save workouts, nutrition beyond a few fields, or heart rate data, which rules out any serious fitness tracking app.

- The successor library (react-native-health) has absorbed this codebase and moved on — there is no reason to adopt this one.

View on GitHub → Homepage ↗

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →