MimiSDK 6 Migration Guide
This document outlines the various changes required to migrate to MimiSDK 6 from a previous version of MimiSDK.
MimiSDK 6 introduces several API-breaking changes that should be made aware of.
Requirements
- iOS 13 or above.
- Xcode 13.X.
- Swift 5.
Changes
The following section describes all changes that are considered breaking API or significant behavioral changes.
Removed Legacy Authentication Migration
A legacy authentication migration, which was introduced in SDK v4.7.0
, has been now been removed. If updating from an SDK version pre-v4.7.0
, please update to an SDK version pre-v6.0.0
first to ensure proper authentication migration.
API Removals
SigningError
has been removed fromMimiCoreError
.signature
has been removed fromMimiTestResult
.MimiTest(runs: [MimiTestRun], metadata: MimiTestMetadata, signature: String?)
is nowMimiTest(runs: [MimiTestRun], metadata: MimiTestMetadata)
.usesMimiBrandedHealthOnboarding
andshowsHearingHealthTips
have been removed fromMimiProfileConfiguration
.- Removed
showsHearingHealthTips
parameter frominit(allowsRemoteDeviceAuthorization:)
inMimiProfileConfiguration
. - Removed
options
parameter frombuild(preferredTest:)
inMimiTestFlow
. - Removed
showsHearingHealthTips
parameter from initializer inMimiResultsViewController
. - Removed
MimiPersonalizationRoute
. message
is now optional onMimiCoreErrorDetails
.- Removed
export(testResult:with:result)
fromMimiTestController
. - Removed
tintColor
fromMimiTestEar
. - Removed
Context
fromMimiHearingGrade
. - Removed
description(context:short:)
fromMimiHearingGrade
. - Removed
detailedDescription(context:short:)
fromMimiHearingGrade
. - Removed
tintColor(for:)
fromMimiHearingGrade
. - Removed
MimiHearingGradeSpectrumView
. - Removed
MimiEarIndicatorView
. - Removed
description
fromMimiHearingSymmetry
. - Removed
text
andtextAlignment
fromMimiSnackbar
. - Removed
environment
andEnvironment
fromMimiCore
.