Releases: qiscus/qiscus-sdk-android
Releases · qiscus/qiscus-sdk-android
Qiscus Chat SDK (core) v1.5.0
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);
});
Qiscus Chat SDK (core) v1.4.4
Changelog :
- Prevent crash android.permission.SCHEDULE_EXACT_ALARM set false from user
Note:
- Please show the popup customer to enable SCHEDULE_EXACT_ALARM permission, because Qiscus Core SDK (Application) can't create a popup, only from activity can create the popup
- If SCHEDULE_EXACT_ALARM permission is set to false, new messages will be delayed (only from sync and PN for realtime new messages)
for example to show popup :
AlarmManager alarmMgr = (AlarmManager) this.getSystemService(Context.ALARM_SERVICE);
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.S) {
if (!alarmMgr.canScheduleExactAlarms()) {
AlertDialog.Builder alertBuilder = new AlertDialog.Builder(this);
alertBuilder.setCancelable(true);
alertBuilder.setTitle("Permission necessary");
alertBuilder.setMessage("Schedule Exact Alarm permission is necessary for realtime");
alertBuilder.setPositiveButton(android.R.string.yes, (dialog, which) -> {
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.S) {
Intent intent = new Intent(
ACTION_REQUEST_SCHEDULE_EXACT_ALARM,
Uri.parse("package:" + this.getPackageName())
);
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
this.getApplicationContext().startActivity(intent);
}
});
AlertDialog alert = alertBuilder.create();
alert.show();
}
}
Qiscus Chat SDK (core) v1.4.3
- Migration lib JCenter
Qiscus Chat SDK (core) v1.4.2
- Prevent qiscusComment time is null when save to DB
Qiscus Chat SDK (core) v1.4.1
Improve appConfig Sync and SyncEvent
Qiscus Chat SDK (core) v1.4.0
Changelog :
- Fix security issue in sdk (#97)
Requirement :
- minSdkVersion 21
***Note :
if you are already using the sdk version at least 1.4.0 , if you downgrade to the previous version (1.3.xx), please force logout when opening apps, because there is a difference in data
Qiscus Chat SDK (buildIn) v2.31.3
Changelog :
- Implement feature network connection interval
Qiscus Chat SDK (core) v1.3.37
Changelog :
- Implement feature network connection interval
Qiscus Chat SDK (buildIn) v2.31.2
Changelog :
- Fix crash when uploading file with filename less than 3 characters
Qiscus Chat SDK (core) v1.3.36
Changelog :
- Fix crash when uploading file with filename less than 3 characters