
Açıklama
Unified health data integration for Unity. One C# API for iOS HealthKit and Android Health Connect. workouts, heart rate, vitals, nutrition, sleep, and 110+ data types with full editor tooling.
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 iOS HealthKit and Android Health Connect.
Write your health features once. HealthBridge handles platform detection, permission management, native callbacks, and data normalization, so you can focus on building your game or app.
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
Event-driven updates via HealthBridgeEvents.OnHeartRateUpdated
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
Automatic heart rate zone computation (5 zones: resting, light, moderate, vigorous, peak)
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
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
NOTE: 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







