Releases: qiscus/QiscusCore-iOS
Qiscus Chat SDK (core) v1.5.14
Changelog :
- Fix close realtime connection without affecting sync interval
****Note : On normal occurence, sync interval will be changed to 5 seconds from 30 seconds when realtime connection are closed
but if closeRealtimeConnection() are called, it will still on 30 seconds interval
Qiscus Chat SDK (core) v1.5.13
Changelog :
- Fix Issue room name override from system_event (1 on 1 chat)
- Implement feature open and close realtimeConnection (Manually)
Example :
for open realtime conncetion
QiscusCore.openRealtimeConnection();
for close realtime 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)
}
Qiscus Chat SDK (core) v1.5.12
Changelog :
- Fix issue infinity retry send message when get error status code 400-599
Qiscus Chat SDK (core) v1.5.11
Changelog:
- Add new parameters userId, includeExtensions, excludeExtensions in getFileList() api
- Support AppExtension
- Fix flow appConfig() and getLB()
Note : if failed to install this version
You can try this code
pod update --repo-update
Qiscus Chat SDK (core) v1.5.10
Changelog :
- Implement feature update message
For example :
QiscusCore.shared.updateMessage(message: comment, onSuccess: { [weak self] (comment) in
}) { (error) in
}
Implement in delegate :
QiscusCoreDelegate :
func onRoomMessageUpdated(_ room: RoomModel, message: CommentModel){
//message updated
//reload your tableView from roomID
}
QiscusCoreRoomDelegate :
func onMessageUpdated(message: CommentModel) {
//message updated
//reload your tableView
}
****Note :
- If you want use this feature, please contact us (https://support.qiscus.com/hc/en-us/requests/new)
Qiscus Chat SDK (core) v1.5.9
Changelog :
- Fix room name not update in QiscusCoreDelegate
func onRoomMessageReceived(_ room: RoomModel, message: CommentModel){
}
*Note : if can't get this version, please update your cocoapods to get latest version
sudo gem install cocoapods
Qiscus Chat SDK (core) v1.5.8
Changelog :
- Add params roomType to filter group or single chat in
getAllChatRooms()
Qiscus Chat SDK (core) v1.5.7
Changelog :
- Prevent crash when there's API call in different thread
Qiscus Chat SDK (core) v1.5.5
Changelog :
- Prevent send message type reply from system event
- Improve update mechanism old messages when the user name changed
Qiscus Chat SDK (core) v1.5.4
Changelog :
- Implement room delete event from QiscusRealtime
- Add param roomType in searchMessage
- Fix response registerDeviceToken and removeDeviceToken