Skip to content

Qiscus Chat SDK (core) v1.5.0

Compare
Choose a tag to compare
@ariefnurputranto ariefnurputranto released this 20 Sep 03:35
· 55 commits to master since this release

Changelog :

  • Support ExpiredToken

for example :

  • if you get error when call API qiscusCore with error code 403, please call api refreshToken
 QiscusAccount account = QiscusCore.getQiscusAccount();
        QiscusApi.getInstance().refreshToken(account.getEmail(), account.getRefreshToken())
                .subscribeOn(Schedulers.io())
                .observeOn(AndroidSchedulers.mainThread())
                .subscribe(QiscusCore::saveRefreshToken, throwable -> {
                    QiscusErrorLogger.print(throwable);
                });