Aller au contenu principal

iOS SDK

The Vitalera iOS SDK v2 is consumed as a Kotlin Multiplatform framework that provides device discovery, connection, and typed observation collection for medical devices on iOS.

Table of Contents

Overview

The SDK uses the same modular provider architecture as Android. Each device vendor is a separate Swift Package Manager product. Include only the providers your app needs, or use the umbrella product (VitaleraSdk) for all providers.

Key capabilities:

  • Provider Plugin System: Register only the device providers you need via addProvider().
  • Async/Await Discovery: Scan for devices using Swift AsyncSequence with filters and timeouts.
  • Typed Observations: Receive BloodPressureObservation, HeartRateObservation, WeightObservation, and 30+ other typed classes.
  • DPoP Authentication: Organization license key with DPoP-bound tokens. Keys stored in the Secure Enclave.
  • Connected Mode: Resolve patients and post observations to the Vitalera backend.
  • HealthKit Integration: Read from Apple HealthKit via the VitaleraSdkProviderHealthKit product.

Requirements

  • Min iOS version: 14.0
  • Device: iPhone 6s or newer
  • Distribution: Swift Package Manager (SPM)
  • Bluetooth: NSBluetoothAlwaysUsageDescription required in Info.plist

Getting Started

  1. Follow the Installation Guide to add the SDK via SPM.
  2. Obtain a clientId (organization license key) from sdk@vitalera.com.
  3. See the Usage Guide for initialization, discovery, connection, and data collection.
  4. Review the Changelog for version history.

Support

For questions or issues, contact support@vitalera.io.