Skip to content

Releases: qiscus/qiscus-sdk-android

Qiscus Chat SDK (core) v1.8.6

24 Jan 08:59
Compare
Choose a tag to compare

Changelog :

  • remove unused permission read_media_image & video

Qiscus Chat SDK (core) v1.9.0

23 Jan 08:23
Compare
Choose a tag to compare

Changelog :

  • Support encrypt decrypt in local db

*note :

  • if you want add key for encrypt decrypt, you can add 8 char before init SDK

for example

/**
* The key length must be at least 8 characters.
* Make sure to save this key securely.
*/

final String secretKey = yourkey;
QiscusCore.setCustomKey(secretKey);
Qiscus.setup(this, QISCUS_SDK_APP_ID);

Qiscus Chat SDK (core) v1.8.5

20 Dec 06:37
Compare
Choose a tag to compare

Changelog :

  • Prevent crash in file qiscusNetworkCheckerJobService.java

Qiscus Chat SDK (core) v1.8.4

10 Dec 07:13
Compare
Choose a tag to compare

Changelog :

  • Bug Fixing Crash

Qiscus Chat SDK (core) v1.8.3

06 Nov 07:58
Compare
Choose a tag to compare

Changelog :

  • update deprecated library for OnLifecycleEvent
  • add param packageId (com.xxx.xxx) when registerDeviceToken

for example :

QiscusCore.registerDeviceToken(deviceToken, packageId);

Qiscus Chat SDK (core) v1.8.2

18 Sep 08:55
Compare
Choose a tag to compare

Changelog :

  • add eventBus when success autoRefreshToken

for example :

 //implement this to all your activity
    @Subscribe
    public void onRefreshToken(QiscusRefreshTokenEvent event) {
        if (event.isTokenExpired()) {
            // isTokenExpired
        } else if (event.isUnauthorized()) {
           // isUnauthorized
        } else if (event.isSuccessAutoRefreshToken()){
            // success autoRefreshToken
        } else {
            // do somethings
        }
    }

Qiscus Chat SDK (core) v1.8.1

30 Jul 08:59
Compare
Choose a tag to compare

Changelog :

  • Fix ANR Issue

Qiscus Chat SDK (core) v1.8.0

03 May 06:51
Compare
Choose a tag to compare

Changelog :

  • Update flow expired token

for example for handle new flow

//Subscribe to AllActivity 

 @Subscribe
    public void onRefreshToken(QiscusRefreshTokenEvent event) {
        if (event.isTokenExpired()) {
         //need to call api refresh token when auto refresh token from be is false, by default is true from be
            callRefreshToken();
        } else if (event.isUnauthorized()) {
         //need to force re login or re init qiscusCore
            reLoginUser();
        } 
    }
    
private void callRefreshToken() {
        QiscusCore.refreshToken(new QiscusCore.SetRefreshTokenListener() {
            @Override
            public void onSuccess(QiscusRefreshToken refreshToken) {

            }

            @Override
            public void onError(Throwable throwable) {

            }
        });
}
    
 private void logoutUser() {
        if (QiscusCore.hasSetupUser()) {
            QiscusCore.clearUser();
        }
        
        //call flow re initiate SDK qiscusCore
    }

Qiscus Chat SDK (core) v1.7.1

20 Nov 06:25
002554c
Compare
Choose a tag to compare

Changelog :

  • Fix issues token after calling API profile in the flow feature refresh token

Qiscus Chat SDK (core) v1.7.0

20 Nov 06:24
Compare
Choose a tag to compare

Changelog :

  • Support background thread