Skip to content

Permissions and capabilities

HealthBridge permissions answer what your product requests. Provider capabilities answer what the active platform can do. Check both before enabling an optional feature.

Open Tools > HealthBridge > Permissions or Project Settings > Plugins > HealthBridge. Every permission row contains:

  • A unified data type ID.
  • A read toggle.
  • A write toggle.

Read access does not imply write access. Request only the types and directions needed by a user-visible feature.

Use UHealthBridgeSubsystem::SupportsCapability in Blueprint or the active provider’s Supports method in C++. Capability-gate features such as:

  • Workout import and writing.
  • Generic reads and writes.
  • Heart-rate monitoring.
  • Workout routes.
  • Record deletion.

An unavailable optional feature should produce a disabled or explanatory UI, not a button that silently fails.

Apple does not expose every per-type read decision. Initialization may succeed even when a read type was denied, and the read can return an empty successful result. Treat empty data as ambiguous and provide a route to iOS Health privacy settings.

Health Connect reports granted and denied permissions. The final Android manifest must declare every requested android.permission.health.* permission before Health Connect can display it.

Workout writes require exercise write access. Optional workout fields can require additional write permissions for their underlying data categories. Generic writes require both registry write support and configured platform permission.

  1. Explain why the feature needs the data before opening a system prompt.
  2. Initialize HealthBridge.
  3. Inspect permission resolution and provider capabilities.
  4. Enable only supported, granted features.
  5. Provide a settings or retry path for declined access.
  6. Keep the rest of the game usable when optional access is unavailable.

Never log permission payloads with health records or identifiers. Store the minimum state needed to operate the feature and follow your product’s consent, retention, and deletion rules.