OrangeChatManager

public class OrangeChatManager : ObservableObject, Identifiable

An object that manage global stuff for the SDK.

This object is the entry point of the SDK. Since it is developed to work with iOS 13 minimum version and with SwiftUI and Combine, there are two ways to instantiate an object OrangeChatManager:

  • use the @EnvironmentObject prefix to instance OrangeChatManager as an environment object and pass it to your views,
  • use a singleton.

Computed Properties

Initializers

  • Initialize the manager with backend configuration.

    Declaration

    Swift

    public convenience init(applicationIdentifier: String, platformURL: URL? = nil)

    Parameters

    applicationIdentifier

    The application namespace in the backend

    platformURL

    The backend url