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.

Stored Properties

Computed Properties

Initializers

  • Initialize the manager with backend configuration.

    Declaration

    Swift

    public convenience init(configuration: OrangeChatConfiguration)

    Parameters

    configuration

    The configuration with backend urls and application identifier