A cross-platform React Native + Expo health tracking application that integrates with:
- Apple HealthKit (iOS)
- Android Health Connect (Android)
The app collects and syncs fitness, activity, workout, and wellness data using native platform APIs.
- Steps
- Heart Rate
- Sleep Data
- Calories Burned
- Distance Walking/Running
- Workouts
- Blood Oxygen
- Blood Pressure
- Respiratory Rate
- Body Temperature
- Weight
- Height
- BMI
- Body Fat
- VO2 Max
- Water Intake
- Nutrition Data
- And more
- Steps
- Heart Rate
- Sleep Sessions
- Exercise Workouts
- Calories Burned
- Distance Tracking
- Cycling Data
- Swimming Data
- Blood Oxygen
- Blood Pressure
- Respiratory Rate
- Body Temperature
- Nutrition Data
- Hydration
- VO2 Max
- Body Metrics
- Mobility Data
- And more
- React Native
- Expo
- TypeScript
- Kotlin (Native Android Modules)
- Swift / HealthKit (iOS)
- Android Health Connect SDK
- Firebase
- Xcode installed
- Apple Health enabled on device
- Physical iPhone recommended for testing HealthKit
- Android 9+
- Health Connect installed from Google Play
- Health permissions enabled
- Physical Android device recommended
Android health data works differently from iOS.
Before using health sync:
- Install Health Connect from Google Play
- Open Health Connect once
- Enable Activity Tracking / Fitness permissions
- Grant all requested permissions to the app
- Make sure health apps/devices are syncing data into Health Connect
Without Health Connect and granted permissions, Android cannot provide health data.
git clone https://github.com/IAMDeveloperChetanSharma/orishub-health.gitcd orishub-healthUsing npm:
npm installOr using yarn:
yarn installnpx expo startnpx expo run:androidnpx expo run:iosThis project uses native Kotlin modules for Health Connect integration.
Important native files:
android/app/src/main/java/com/orishub/health/healthmodule/
Includes:
- Health Connect permission handling
- Native health data readers
- Workout mapping
- Aggregation utilities
- Android bridge modules
Permissions are requested through Apple HealthKit.
Permissions are managed using Health Connect APIs.
The app checks:
- SDK availability
- Installed provider
- Granted permissions
- Health data access
Install:
https://play.google.com/store/apps/details?id=com.google.android.apps.healthdata
Possible reasons:
- No data exists inside Health Connect
- Permissions not granted
- Fitness tracking disabled
- Device apps are not syncing with Health Connect
Health Connect works best on physical Android devices.
Many emulators:
- do not support Health Connect correctly
- lack Google Health services
- fail to provide real sensor/activity data
cd android
./gradlew assembleReleasecd android
./gradlew cleanThe project uses Firebase services.
Ensure:
google-services.jsonexists inandroid/app/- Firebase app is initialized correctly
- Required Firebase packages are installed
src/
├── components/
├── services/
├── screens/
├── hooks/
├── utils/
└── types/
android/
└── native Kotlin modules
ios/
└── HealthKit integration
- Background sync
- Daily aggregation caching
- Smart workout analytics
- Charts & visualizations
- AI-based health insights
- Wearable integrations
Created by Chetan Sharma
GitHub: https://github.com/IAMDeveloperChetanSharma
This project is licensed under the MIT License.