I'm using Mesibo chat framework/SDK for chat integration in my application with my own UI Designs but I'm not able to send or receive the messages from the server. Also, the connection status is showing 9 at last.
I'm using Swift 5 language for development and all the demos are written in Objective c so please help me regarding this.
This is my didFinishDidLaunch Method:
Mesibo.getInstance()?.addListener(self)
Mesibo.getInstance()?.setAccessToken("user_token")
Mesibo.getInstance()?.setSecureConnection(true)
Mesibo.getInstance()?.start()
Here are my delegates methods:
func mesibo_(onConnectionStatus status: Int32) {
print("Connection status: %d", status);
}
func mesibo_(onMessageStatus params: MesiboParams!) {
print(params ?? "")
}
func mesibo_(onMessage params: MesiboParams!, data: Data!) {
print("data")
}
Please share if any demo was available for swift 5 or swift 4.2.
Thanks in advance.