Releases: qiscus/QiscusCore-iOS
Releases · qiscus/QiscusCore-iOS
Qiscus Chat SDK (core) v1.10.3
Changelog :
- add config enable refresh token
Qiscus Chat SDK (core) v1.10.2
Changelog :
- Fix race condition when logout-login
Qiscus Chat SDK (core) v1.10.1
Changelog :
- Update lib Qiscus Realtime
Qiscus Chat SDK (core) v1.10.0
Changelog :
- New Flow expired token
for implementation manually calling the API refresh token, can use this code.
func onRefreshToken(event: QiscusRefreshTokenEvent) {
if event == .isUnauthorized {
//need to force re login
}else if event == .isTokenExpired {
//implement call api refresh token if auto refresh token is false from BE (by default is true), request contact us for set auto refresh false
}
}
***Note :
- Please contact us, if you want to implementation the flow expired token and manually or automatic call API refresh token
Qiscus Chat SDK (core) v1.9.0
Changelog :
- Support XCode 14
Qiscus Chat SDK (core) v1.8.0
Changelog :
- Support ExpiredToken
for example :
- if you get error when call API qiscusCore with error code 403, please call api refreshToken
QiscusCore.shared.getAllChatRooms(page: 1, limit: 50) { rooms, meta in
print("sucess get data")
} onError: { error in
// if error equal 403 print("error expired token")
//call api refreshToken
QiscusCore.shared.refreshToken { isSuccess in
print("check isSuccess =\(isSuccess)")
} onError: { error in
print("error =\(error.message)")
}
}
Qiscus Chat SDK (core) v1.7.0
Changelog:
- Support SPM
Qiscus Chat SDK (core) v1.6.1
Improve appConfig Sync and SyncEvent
Qiscus Chat SDK (core) v1.6.0
Support XCode 13
Qiscus Chat SDK (core) v1.5.15
Changelog :
- Prevent Crash on ios os 14.6++ when connecting to realtime