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
SigningErrorhas been removed fromMimiCoreError.signaturehas been removed fromMimiTestResult.MimiTest(runs: [MimiTestRun], metadata: MimiTestMetadata, signature: String?)is nowMimiTest(runs: [MimiTestRun], metadata: MimiTestMetadata).usesMimiBrandedHealthOnboardingandshowsHearingHealthTipshave been removed fromMimiProfileConfiguration.- Removed
showsHearingHealthTipsparameter frominit(allowsRemoteDeviceAuthorization:)inMimiProfileConfiguration. - Removed
optionsparameter frombuild(preferredTest:)inMimiTestFlow. - Removed
showsHearingHealthTipsparameter from initializer inMimiResultsViewController. - Removed
MimiPersonalizationRoute. messageis now optional onMimiCoreErrorDetails.- Removed
export(testResult:with:result)fromMimiTestController. - Removed
tintColorfromMimiTestEar. - Removed
ContextfromMimiHearingGrade. - Removed
description(context:short:)fromMimiHearingGrade. - Removed
detailedDescription(context:short:)fromMimiHearingGrade. - Removed
tintColor(for:)fromMimiHearingGrade. - Removed
MimiHearingGradeSpectrumView. - Removed
MimiEarIndicatorView. - Removed
descriptionfromMimiHearingSymmetry. - Removed
textandtextAlignmentfromMimiSnackbar. - Removed
environmentandEnvironmentfromMimiCore.
MimiSDK 6 Migration Guide Reference