Qiscus provide everything you need to power up your app with chats. And it's now made simple.
Changelog :
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
}
Changelog :
Changelog :
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>
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>
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>
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>
Changelog :
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>
Changelog :
***Note:
maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
# 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>
Changelog :
***Note:
maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }