Skip to content

Releases: qiscus/qiscus-sdk-android

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

Qiscus Chat SDK (core) v1.6.10

25 Jul 09:52
Compare
Choose a tag to compare

Changelog :

  • Fix race condition when logout-login

Note :
if you using custom EditText like our editText (MentionEditText) you need implementation this lib.

implementation 'com.qiscus.utils:manggil:1.2.1'

**Please add this proguard when get an error build


# With R8 full mode generic signatures are stripped for classes that are not
# kept. Suspend functions are wrapped in continuations where the type argument
# is used.
-keep,allowobfuscation,allowshrinking class kotlin.coroutines.Continuation
-keep,allowobfuscation,allowshrinking interface retrofit2.Call
-keep,allowobfuscation,allowshrinking class retrofit2.Response

# R8 full mode strips generic signatures from return types if not kept.
-if interface * { @retrofit2.http.* public *** *(...); }
-keep,allowoptimization,allowshrinking,allowobfuscation class <3>

Qiscus Chat SDK (core) v1.6.9

18 Jul 08:09
Compare
Choose a tag to compare

Changelog :

  • Update Lib to fix issue CVE in lib Okhttp, Gson, Jsoup

Note :
if you using custom EditText like our editText (MentionEditText) you need implementation this lib.

implementation 'com.qiscus.utils:manggil:1.2.1'

**Please add this proguard when get an error build


# With R8 full mode generic signatures are stripped for classes that are not
# kept. Suspend functions are wrapped in continuations where the type argument
# is used.
-keep,allowobfuscation,allowshrinking class kotlin.coroutines.Continuation
-keep,allowobfuscation,allowshrinking interface retrofit2.Call
-keep,allowobfuscation,allowshrinking class retrofit2.Response

# R8 full mode strips generic signatures from return types if not kept.
-if interface * { @retrofit2.http.* public *** *(...); }
-keep,allowoptimization,allowshrinking,allowobfuscation class <3>

Qiscus Chat SDK (core) v1.6.8

13 Jul 06:46
Compare
Choose a tag to compare

Changelog :

  • Support Lib Manggil with the latest appCompat

Note :
if you using custom EditText like our editText (MentionEditText) you need implementation this lib.

implementation 'com.qiscus.utils:manggil:1.2.1'

**Please add this proguard when get an error build


# With R8 full mode generic signatures are stripped for classes that are not
# kept. Suspend functions are wrapped in continuations where the type argument
# is used.
-keep,allowobfuscation,allowshrinking class kotlin.coroutines.Continuation
-keep,allowobfuscation,allowshrinking interface retrofit2.Call
-keep,allowobfuscation,allowshrinking class retrofit2.Response

# R8 full mode strips generic signatures from return types if not kept.
-if interface * { @retrofit2.http.* public *** *(...); }
-keep,allowoptimization,allowshrinking,allowobfuscation class <3>

Qiscus Chat SDK (core) v1.6.7

11 Jul 07:38
Compare
Choose a tag to compare

Changelog :

Note :
** if you using custom EditText like our editText (MentionEditText) you need implementation this lib.

implementation 'com.qiscus.utils:manggil:1.2.1'

** Please add this proguard when get an error build


# With R8 full mode generic signatures are stripped for classes that are not
# kept. Suspend functions are wrapped in continuations where the type argument
# is used.
-keep,allowobfuscation,allowshrinking class kotlin.coroutines.Continuation
-keep,allowobfuscation,allowshrinking interface retrofit2.Call
-keep,allowobfuscation,allowshrinking class retrofit2.Response

# R8 full mode strips generic signatures from return types if not kept.
-if interface * { @retrofit2.http.* public *** *(...); }
-keep,allowoptimization,allowshrinking,allowobfuscation class <3>

Qiscus Chat SDK (core) v1.6.6

06 Jun 09:34
Compare
Choose a tag to compare

Changelog :

  • Prevent Crash when connecting realtime
  • Fix Issue Refresh token in some case

Note :
**Please add this proguard when use this version


# With R8 full mode generic signatures are stripped for classes that are not
# kept. Suspend functions are wrapped in continuations where the type argument
# is used.
-keep,allowobfuscation,allowshrinking class kotlin.coroutines.Continuation
-keep,allowobfuscation,allowshrinking interface retrofit2.Call
-keep,allowobfuscation,allowshrinking class retrofit2.Response

# R8 full mode strips generic signatures from return types if not kept.
-if interface * { @retrofit2.http.* public *** *(...); }
-keep,allowoptimization,allowshrinking,allowobfuscation class <3>