ServiceProvider

public class ServiceProvider : ServiceProviderProtocol

Services provider for SearchEngine

  • Customize API host URL with a value from the Info.plist Also supports reading a process argument when in non-Release UITest builds

    Declaration

    Swift

    public static var customBaseURL: String? { get }
  • LocalDataProvider for favorites records

    Declaration

    Swift

    public let localFavoritesProvider: FavoritesProvider
  • LocalDataProvider for history records

    Declaration

    Swift

    public let localHistoryProvider: HistoryProvider
  • MapboxMobileEvents manager for analytics usage

    Declaration

    Swift

    public let eventsManager: EventsManager
  • Responsible for sending feedback related events.

    Declaration

    Swift

    public private(set) lazy var feedbackManager: FeedbackManager { get set }
  • Shared instance of ServiceProvider

    Declaration

    Swift

    public static let shared: ServiceProvider