Skip to content

Repository files navigation

OrisHub Health

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.


Screenshots

s3 s1 s2 s4

Features

iOS (Apple HealthKit)

  • 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

Android (Health Connect)

  • 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

Tech Stack

  • React Native
  • Expo
  • TypeScript
  • Kotlin (Native Android Modules)
  • Swift / HealthKit (iOS)
  • Android Health Connect SDK
  • Firebase

Requirements

iOS

  • Xcode installed
  • Apple Health enabled on device
  • Physical iPhone recommended for testing HealthKit

Android

  • Android 9+
  • Health Connect installed from Google Play
  • Health permissions enabled
  • Physical Android device recommended

Android Health Connect Setup

Android health data works differently from iOS.

Before using health sync:

  1. Install Health Connect from Google Play
  2. Open Health Connect once
  3. Enable Activity Tracking / Fitness permissions
  4. Grant all requested permissions to the app
  5. Make sure health apps/devices are syncing data into Health Connect

Without Health Connect and granted permissions, Android cannot provide health data.


Installation

Clone the repository

git clone https://github.com/IAMDeveloperChetanSharma/orishub-health.git
cd orishub-health

Install dependencies

Using npm:

npm install

Or using yarn:

yarn install

Start Metro

npx expo start

Run Android

npx expo run:android

Run iOS

npx expo run:ios

Android Native Configuration

This 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

Health Permissions

iOS

Permissions are requested through Apple HealthKit.

Android

Permissions are managed using Health Connect APIs.

The app checks:

  • SDK availability
  • Installed provider
  • Granted permissions
  • Health data access

Common Android Issues

Health Connect not installed

Install:

https://play.google.com/store/apps/details?id=com.google.android.apps.healthdata


No health data returned

Possible reasons:

  • No data exists inside Health Connect
  • Permissions not granted
  • Fitness tracking disabled
  • Device apps are not syncing with Health Connect

Emulator Issues

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

Build Commands

Android Release Build

cd android
./gradlew assembleRelease

Clean Android Build

cd android
./gradlew clean

Firebase

The project uses Firebase services.

Ensure:

  • google-services.json exists in android/app/
  • Firebase app is initialized correctly
  • Required Firebase packages are installed

Project Structure

src/
 ├── components/
 ├── services/
 ├── screens/
 ├── hooks/
 ├── utils/
 └── types/

android/
 └── native Kotlin modules

ios/
 └── HealthKit integration

Future Improvements

  • Background sync
  • Daily aggregation caching
  • Smart workout analytics
  • Charts & visualizations
  • AI-based health insights
  • Wearable integrations

Author

Created by Chetan Sharma

GitHub: https://github.com/IAMDeveloperChetanSharma


License

This project is licensed under the MIT License.

About

This is the Github Repo for OrisHub Android and IOS app.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages