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
AsyncSequencewith 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
VitaleraSdkProviderHealthKitproduct.
Requirements
- Min iOS version: 14.0
- Device: iPhone 6s or newer
- Distribution: Swift Package Manager (SPM)
- Bluetooth:
NSBluetoothAlwaysUsageDescriptionrequired in Info.plist
Getting Started
- Follow the Installation Guide to add the SDK via SPM.
- Obtain a
clientId(organization license key) from sdk@vitalera.com. - See the Usage Guide for initialization, discovery, connection, and data collection.
- Review the Changelog for version history.
Support
For questions or issues, contact support@vitalera.io.