HealthBridge eliminates the complexity of integrating health data into your Unity app. Instead of writing separate native plugins for each platform, you get a single async C# interface that works identically across Apple and Android Health Integrations.
Write your health features once. HealthBridge handles platform detection, permission management, JNI bridging, native callbacks, and data normalization, so you can focus on building your game or app.
Key Features
Unified Health Data Access
- Read workouts, heart rate, steps, sleep, nutrition, body measurements, and 110+ health data types through one consistent API
- Automatic data normalization across platforms — same data format regardless of source
- Generic ReadDataAsync() for any health data type with flexible time-range queries
Periodic Heart Rate Monitoring
- Heart rate polling with start/stop control
- Automatic heart rate zone computation (5 zones: resting, light, moderate, vigorous, peak)
- Event-driven updates via HealthBridgeEvents.OnHeartRateUpdated
- There is device limitations preventing real-time Heart Rate Tracking due to battery concerns Heart Rate samples are only sent periodically. if this is something you are interested in doing you will need to build and Apple Watch / Android Watch App to enable real-time heart rate monitoring
Workout Import & Tracking
- Fetch recent workouts with configurable time ranges and limits
- 80+ exercise types automatically mapped across platforms (running, cycling, swimming, HIIT, yoga, strength training, and more)
- Rich workout data: duration, calories, distance, steps, HR zones, and source attribution
Complete Permission System
- Visual Permission Editor window — browse all 110+ data types by category, toggle read/write access, filter by platform
- One-click presets: Fitness App, Nutrition Tracker, Sleep Tracker, Clinical/Medical
- Automatic platform permission generation — no manual manifest editing
Production-Ready Editor Tooling
- 6-step Setup Wizard for guided onboarding
- Permission Editor with category-based navigation and platform filtering
- Project Settings panel with live status monitoring
- Built entirely with UI Toolkit for a native Unity editor feel
Zero-Config Build Pipeline
- iOS: Automatic Info.plist configuration + HealthKit entitlement injection
- Android: Automatic AndroidManifest permission patching
- Pre-build validation catches missing permissions before they become runtime crashes
Editor Play Mode Testing
- Full mock health provider for in-editor testing — no device required
- Configurable mock workout data via ScriptableObject
- Test heart rate monitoring, workout import, and data queries without leaving the editor
Modern Async API
- Full async/await support with Task<T> return types
- Native callbacks (JNI, Objective-C) bridged via TaskCompletionSource
- Main-thread dispatch handled automatically — no manual marshaling needed
DI Framework Support
- Service Locator pattern for lightweight setups
- IHealthProvider interface enables easy mocking and testing