Announce: October 25, 2022
Hi there, Good news! We have made some improvements in chat SDK iOS. Below is the list of changes:
- New Flow expired token
For the implementation of manually calling the API refresh token, you 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 implement the flow expired token and manually or automatically call the API refresh token.
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
Comments
0 comments
Please sign in to leave a comment.