Skip to main content

Migration

From 6.x.x to 7.x.x

This section outlines the necessary changes when migrating from version 6.x.x to version 7.x.x of the MeetingDoctors SDK.

Initialize

From

public class func initialize(
_ application: UIApplication,
with configuration: MeetingDoctors.Configuration,
options _: [UIApplication.LaunchOptionsKey: Any]?,
completion: ((MeetingDoctorsResult<MeetingDoctorsInstallationType>) -> Void)? = nil
) -> UUID?

To

public class func initialize(
with configuration: MeetingDoctors.Configuration,
completion: ((MeetingDoctorsResult<MeetingDoctorsInstallationType>) -> Void)? = nil
) -> UUID?

Customization

From

/// Whether the collegiate number should appear next to the speciality in professional profile.
showCollegiateNumber: Bool?

/// Show header of professional list.
showProfessionalListHeader: Bool?

To

/// Whether the collegiate number should appear next to the speciality in professional profile.
MeetingDoctors.style?.flags.professionalList.showCollegiateNumber: Bool?

/// Show header of professional list.
MeetingDoctors.style?.flags.professionalList.showHeader: Bool?