In-App Chat SDK iOS Version 1.5.13 Release

  • Updated

Announce: August 04, 2021

Hi there, Good news! We have made some improvements in chat SDK iOS. Below is the list of changes:

  • Fix issue room name override from system_event (1 on 1 chat)
  • Implement feature open and close real-time connection function

Example :
for open real-time connection

QiscusCore.openRealtimeConnection();

for close real-time connection

QiscusCore.closeRealtimeConnection();

 

**** Please resubscribe to chatRoom/refresh activity when using manually open realtimeConnection in chatRoom after realtimeConnection is connected from delegate QiscusConnectionDelegate

 

extension AppDelegate : QiscusConnectionDelegate {
    func onConnected(){
        NotificationCenter.default.post(name: NSNotification.Name(rawValue: "reSubscribeRoom"), object: nil)
    }
}

in chatRoomViewController

let center: NotificationCenter = NotificationCenter.default
center.addObserver(self,selector: #selector(reSubscribeRoom(_:)), name: Notification.Name(rawValue: "reSubscribeRoom"),object: nil)

@objc func reSubscribeRoom(_ notification: Notification)
    {
        //restart viewController or reSubscribe
        self.presenter.attachView(view: self)
    }

 

For further information, feedback, or questions about the changes above, please feel free to drop us some feedback at https://support.qiscus.com/.

Best regards,
Product Team

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.