b.well SDK v1.18.0
about 17 hours ago
b.well Kotlin SDK v1.18.0 Change Log
b.well Kotlin SDK version 1.18.0 includes new features and several enhancements.
New Additions
New b.well Health Sync SDK for Kotlin
- Connect and sync on-device health data through Android Health Connect natively, without a WebView or React Native
- Ships as an additional module,
bwell-sdk-kotlin-healthsync, plus an on-device source adapter — the basebwell-sdk-kotlinartifact is unchanged - Register the on-device source once at startup with
BWellHealthSync.configure(source), afterBWellSdk.initialize(config) BWellSdk.healthSyncexposes the on-device primitives:sources(),startSession(),endSession(),currentUser(),isAvailable(),requestPermissions(),hasPermission(), andsync()BWellSdk.connect(sourceId)andBWellSdk.disconnect(sourceId)compose the full provisioning handshake, so credentials never reach the callersourceIdmay be omitted when exactly one source is registered- An installable
healthsync-sampleapp demonstrates the full flow
Updates
Financials: ExplanationOfBenefitRequest now supports coverage
- Two new builder methods filter claims to one or more insurance plans:
coverage(coverage: String)— adds a single Coverage idcoverages(coverages: List<String>)— adds multiple Coverage ids
- The value is the bare
Coverageid, without aCoverage/prefix - Multiple Coverage ids are OR-ed
- See Insurance Claims guide for more info
Consent: ConsentRequest now supports organizationId
- New
organizationId(organizationId: String)builder method narrows the search to the active consent for a specific organization and category combination - The value is the bare organization id and must not be blank
SDK identification headers
- Every outbound GraphQL request now sends three identification headers:
apollographql-client-name—bwell-kotlinapollographql-client-version— the SDK versionbwell-platform—Android/<os-release>
R8 / ProGuard
DeviceMetricsQueryRequestandDeviceMetricsGroupsRequestare now kept in R8, fixing device metrics requests in minified release builds
