Overview

b.well Health SDK for iPhone

The b.well Swift SDK is a native iOS library for building healthcare applications that connect to the b.well Connected Health platform. This section currently documents its Health Sync capability — reading health data stored locally on the user's phone (via Apple Health) and syncing it to b.well, alongside the related device-provisioning and health-data-retrieval methods it depends on.


Workflow & Configuration Guides

Workflow GuidesDescription
Connection Management WorkflowsProvisioning an on-device sync connection and checking its status
Health Sync Workflow GuideConnecting, syncing, requesting permissions for, and disconnecting an on-device health source
Health Data WorkflowsReading synced device metrics, health score, and body system score



SDK Architecture & Key Features

Async/Throws Result Model

Unlike a wrapped result type, the Swift SDK's methods are async throws — a successful call returns the value directly, and any failure (validation, network, or a Health Sync–specific case like HealthSyncError.sessionConflict) is thrown as a Swift Error to be handled with do/catch.


Did this page help you?