Initialization

To initialize the SDK, you need to add SinchChatSDK.shared.initialize() to the application function definition in the AppDelegate file. For example:

Copy
Copied
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {

SinchChatSDK.shared.initialize()

return true

}

After initializing, you must set the identity.

We'd love to hear from you!
Rate this content:
Still have a question?
 
Ask the community.