Releases: qiscus/QiscusCore-iOS
Releases · qiscus/QiscusCore-iOS
Qiscus Chat SDK (core) v1.3.0 (XCode 11.4)
ChangeLog
- Support Xcode 11.4 from latest version
Qiscus Chat SDK (core) v1.2.6 (XCode 11.2 - 11.3.x)
ChangeLog
- Fix alternately brokerUrl in realtime
- Improve parsing from database to RoomModel
- Change default brokerUrl
- Add feature join and Leave channels
Qiscus Chat SDK (core) v1.2.5 (XCode 11.2 - 11.3.x)
Changelog :
- Improve messageId no longer required in func getPreviousMessagesById(), getNextMessagesById(), loadComment()
Qiscus Chat SDK (core) v1.2.4 (XCode 11.2 - 11.3.x)
Changelog
- Adding dynamic configuration on the client side
**** Note :
In func getUsers metaData and searchUsername is deprecated, you can add searchUsername using emptyString. and create local var for page.
sdk sample core before
QiscusCore.shared.getUsers(searchUsername: "", page: page, limit: 20,onSuccess: { (contacts, metaDat) in
if (metaData.currentPage! >= self.page){
if metaData.currentPage! == self.page {
self.stopLoad = true
}else{
self.page += 1
}
self.loadContactsDidSucceed(contacts: contacts)
}
if contacts.count != 0 {
self.page += 1
self.loadContactsDidSucceed(contacts: contacts)
} else {
self.stopLoad = true
}
}) { (error) in
self.loadContactsDidFailed(message: error.message)
}
sdk sample core new
QiscusCore.shared.getUsers(searchUsername: "", page: page, limit: 20,onSuccess: { (contacts, metaDat) in
if contacts.count != 0 {
self.page += 1
self.loadContactsDidSucceed(contacts: contacts)
} else {
self.stopLoad = true
}
}) { (error) in
self.loadContactsDidFailed(message: error.message)
}
Qiscus Chat SDK (core) v0.2.18 (XCode 10.1)
Changelog
- Support Xcode 10.1 swift 4.2 from latest sdk core
Qiscus Chat SDK (core) v1.2.3 (XCode 11.2)
Changelog
- Fix crash issue related
comment.find(status)
- Fix no response data when calling getRoomById API
Qiscus Chat SDK (core) v1.2.2 (XCode 11.2)
Changelog
- Change default RealtimeURL
- Update library QiscusRealtime for fix issue crash
- add page and limit in func getParticipant
for example
QiscusCore.shared.getParticipants(roomUniqueId: roomUniqueId, page: 1, limit: 100, sorting: .asc, onSuccess: { (participants, meta) in
//success
}) { (error) in
//error
}
Qiscus Chat SDK (core) v1.2.1 (XCode 11.2)
ChangeLog :
- Add debugger for DB level
- Handle API call from the server when data (commentId == 0)
- Add function for find comment before a message
for example :
var comments = QiscusCore.database.comment.findOlderCommentsThan(roomId: roomId, message: commentModel, limit: limit)
Now, you can pod update it using
pod 'QiscusCore', '1.2.1'
Qiscus Chat SDK (core) v1.2.0 (XCode 11.2)
Changelog
- Change default RealtimeURL
- Change default BrokerUrl
Fix Bugs
- Fix delay connect to realtime when using setupWithCustomServer
Notes
*** if you using customServer and not using LB, please don't set brokerLBUrl.
for example
//new func
QiscusCore.setupWithCustomServer(AppID: APP_ID, baseUrl: baseUrl, brokerUrl: brokerUrl, brokerLBUrl: nil)
//old func
QiscusCore.setup(WithAppID: APP_ID, server: QiscusServer(url:baseUrl, realtimeURL: brokerUrl, realtimePort: 1885, brokerLBUrl: nil))
Qiscus Chat SDK (core) v1.1.1 (XCode 11.2)
- Improve message delivery receipt only need 1 event from realtime server
- Remove user token from request parameter and body
- Add method of
getBlurryThumbnailURL
andgetThumbnailURL
you can call using this code :
QiscusCore.shared.getBlurryThumbnailURL(url: url, onSuccess: { (urlThumb) in
//success
}) { (error) in
//error
}
QiscusCore.shared.getThumbnailURL(url: url, onSuccess: { (urlThumb) in
//success
}) { (error) in
//error
}
You can pod update it with
pod 'QiscusCore', '1.1.1'