Skip to content

Unity onboarding

Use this path when adding HealthBridge to a Unity project for the first time. Each step produces one concrete checkpoint before the next adds complexity.

Install the Asset Store package and confirm that Unity finishes dependency resolution and script compilation. The imported package includes the Health Data Review sample under Assets/HealthBridge/Samples/.

Set up initialization. Use AutoInitializeAsync in the Editor and on iOS. Android player builds require a configured HealthBridgeInitializer component in the first scene.

Read your first step samples. Verify HealthDataReadResult.Success, then work with StepSample values instead of assuming every generic sample has the same shape.

Read permissions and capabilities before adding more types. A successful core initialization does not mean every optional capability or requested record type is available.

Choose the guide closest to the feature:

6. Replace mock confidence with device evidence

Section titled “6. Replace mock confidence with device evidence”

The Editor proves integration logic, not native access. Configure HealthKit or Health Connect and complete the physical-device validation checklist before treating the feature as release-ready.