HealthBridge — Cross-Platform Health SDK | Apple & Android
Healthwired Games
$53.99
$59.99
10%OFF
(no ratings)
Jump AssetStore
Unified health data integration for Unity. One C# API for Apple and Android Health Connect. workouts, heart rate, vitals, nutrition, sleep, and 110+ data types with full editor tooling.Newtonsoft is Required for this package, it will be auto-installed if not available on import.Requires Unity 6 or NewerAndroid Min SDK is 29 due to Health Connect RequirementsHealthKit is available starting from iOS 8.0 and later.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 FeaturesUnified Health Data AccessRead workouts, heart rate, steps, sleep, nutrition, body measurements, and 110+ health data types through one consistent APIAutomatic data normalization across platforms — same data format regardless of sourceGeneric ReadDataAsync() for any health data type with flexible time-range queriesPeriodic Heart Rate MonitoringHeart rate polling with start/stop controlAutomatic heart rate zone computation (5 zones: resting, light, moderate, vigorous, peak)Event-driven updates via HealthBridgeEvents.OnHeartRateUpdatedThere 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 monitoringWorkout Import & TrackingFetch recent workouts with configurable time ranges and limits80+ 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 attributionComplete Permission SystemVisual Permission Editor window — browse all 110+ data types by category, toggle read/write access, filter by platformOne-click presets: Fitness App, Nutrition Tracker, Sleep Tracker, Clinical/MedicalAutomatic platform permission generation — no manual manifest editingProduction-Ready Editor Tooling6-step Setup Wizard for guided onboardingPermission Editor with category-based navigation and platform filteringProject Settings panel with live status monitoringBuilt entirely with UI Toolkit for a native Unity editor feelZero-Config Build PipelineiOS: Automatic Info.plist configuration + HealthKit entitlement injectionAndroid: Automatic AndroidManifest permission patchingPre-build validation catches missing permissions before they become runtime crashesEditor Play Mode TestingFull mock health provider for in-editor testing — no device requiredConfigurable mock workout data via ScriptableObjectTest heart rate monitoring, workout import, and data queries without leaving the editorModern Async APIFull async/await support with Task return typesNative callbacks (JNI, Objective-C) bridged via TaskCompletionSourceMain-thread dispatch handled automatically — no manual marshaling neededDI Framework SupportService Locator pattern for lightweight setupsIHealthProvider interface enables easy mocking and testingTechnical DetailsCompatibility:- Unity 6 (6000.0+)- iOS 13+ - Android API 29+Architecture:- Provider pattern: IHealthProvider with platform-specific implementations- Static service locator: HealthBridgeService — single entry point- Event hub: HealthBridgeEvents for decoupled lifecycle and data events- Platform-agnostic registry: all 110+ data types accessible in Editor regardless of build targetPackage Structure- Runtime assembly: HealthBridge.Runtime (all platforms)- Editor assembly: HealthBridge.Editor (editor only)- Test assemblies: NUnit runtime + editor tests included- Native bridges: Apple and Kotlin Android source includedDependencies- com.unity.nuget.newtonsoft-json (3.2.1) — JSON serialization (auto-installed on first import)- com.unity.modules.androidjni (1.0.0) — Android JNI interopAPI Surface- IHealthProvider.InitializeAsync() — Initialize and authorize- IHealthProvider.GetRecentWorkoutsAsync(daysBack, maxWorkouts) — Fetch workouts- IHealthProvider.StartHeartRateMonitoringAsync() / StopHeartRateMonitoring() — Periodic HR monitoring- IHealthProvider.ReadDataAsync(HealthDataQuery) — Generic health data queries- IHealthProvider.WriteDataAsync(HealthDataWriteQuery) — Write health data samples- IHealthProvider.Supports(HealthCapability) — Runtime capability checks- HealthBridgeService.AutoInitializeAsync() — One-call setup with auto platform detectionBuild Pipeline Integration- IPreprocessBuildWithReport (order 10): Pre-build permission validation- IPreprocessBuildWithReport (order 50): Android manifest auto-patching- IPostprocessBuildWithReport (order 100): iOS Info.plist + entitlementsAsset uses Newtonsoft.Json (Json.NET) under MIT License,AndroidX Health Connect Client under Apache License 2.0,and Gson under Apache License 2.0;see Third-Party Notices.txt file in package for details.AI was used to help implement the Editor Menus, Marketing Material, and PR Reviews


