Qiscus Sdk Android Versions Save

Qiscus provide everything you need to power up your app with chats. And it's now made simple.

1.8.0

2 weeks ago

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
    }

1.7.1

5 months ago

Changelog :

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

1.7.0

5 months ago

Changelog :

  • Support background thread

1.6.10

9 months ago

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>

1.6.9

10 months ago

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>

1.6.8

10 months ago

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>

1.6.7

10 months ago

Changelog :

  • Fix issue CVE-2019-11777 in realtime
  • Reduce Size SDKCore

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>

1.6.6

11 months ago

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>

1.6.5

11 months ago

Changelog :

  • Prevent crash ANR when failing to connect to realtime lib

***Note:

  • please add this maven for support lib retrofit if get an error when sync gradle
maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
  • and add this proguard
# 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>

1.6.4

1 year ago

Changelog :

  • Support Android Studio Latest (Flamingo) & AGP 8
  • Improve ActivityLifeCircle
  • Improve Realtime

***Note:

  • If you get a crash after building apk with Proguard in Android Studio Latest (Flamingo) & AGP 8, you can use this version. ( root problem crash is from library retrofit in the version before not supporting AGP 8 )
  • please add this maven for support lib retrofit if get an error when sync gradle
maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }