Migration
From 8.x.x to 9.x.x
This section outlines the necessary changes when migrating from version 8.x.x to version 9.x.x of the MeetingDoctors SDK.
Professional List
From
public static func professionalListViewController(
filter: any MeetingDoctorsFilterType = MeetingDoctorsFilter.default,
showHeader: Bool = false,
divider: (any MeetingDoctorsDividerType)? = nil, // status 3
topDividers: [any MeetingDoctorsDividerType]? = [],
completion: @escaping @Sendable(Swift.Result<UIViewController, any Error>) -> Void
)
To
public static func consultationViewController(filter: any MeetingDoctorsFilterType = MeetingDoctorsFilter.default,
showHeader: Bool = true,
divider: (any MeetingDoctorsDividerType)? = nil, // status 3
topDividers: [any MeetingDoctorsDividerType]? = []) throws -> UIViewController
Booking
From
public static func bookingViewController(
completion: @escaping (Swift.Result<UIViewController, Error>
) -> Void)
To
public static func bookingWebviewController() async throws -> UIViewController