apple-health
Read, write, and test Apple HealthKit data in Expo apps
All Skills in This Repository (4)
Pure Emerald Level Indicatorsexpo-modules
Design and verify Expo native modules for iOS and Android.
device-testing
Automate iOS simulator interactions to validate Expo app behavior using xcobra.
healthkit-cli
Seed and verify HealthKit data in Expo apps using the apple-health CLI.
expo-devtools-cli
Scaffold Expo DevTools plugins with a CLI and WebSocket handshake protocol.
Frequently Asked Questions
FAQPage SchemaHow to install apple-health?โผ
Run `npx skills add EvanBacon/apple-health --all -g -y` in your terminal to install all skills in this suite globally.
How to read Apple HealthKit data in an Expo app?โผ
Use the included React hooks like useHealthKitQuery and useHealthKitStatistics to fetch steps, heart rate, sleep, and workouts with full TypeScript support. A config plugin handles all HealthKit permissions and entitlements automatically.
How to seed test HealthKit data in the iOS simulator?โผ
Pipe NDJSON records into the apple-health CLI batch command to write realistic quantities, sleep stages, symptoms, and workouts. You can then verify the data with query and stats commands.
Can I test my Expo health app without manual tapping?โผ
Yes. The device-testing skill uses xcobra commands to inspect the UI tree, tap elements, run gestures, and evaluate JavaScript inside the running app from the terminal.
Does apple-health support real-time health data updates?โผ
Yes. The useHealthKitSubscription hook notifies your app whenever HealthKit data changes, and background delivery keeps updates flowing even when the app is not in the foreground.
Related Repositories in Software Engineering
View All in Software Engineeringโopenclaw
Run a personal AI assistant across your devices and chat apps
superpowers
Gives coding agents a disciplined workflow from idea to merged code
react
AI agent skills for building, testing, and porting React core