Skip to content

Releases: qiscus/qiscus-sdk-android

Qiscus Chat SDK (core) v1.5.0

20 Sep 03:35
Compare
Choose a tag to compare

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

18 Aug 08:08
Compare
Choose a tag to compare

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

11 Aug 02:11
Compare
Choose a tag to compare
  • Migration lib JCenter

Qiscus Chat SDK (core) v1.4.2

20 Jul 08:40
Compare
Choose a tag to compare
  • Prevent qiscusComment time is null when save to DB

Qiscus Chat SDK (core) v1.4.1

14 Jul 09:25
Compare
Choose a tag to compare

Improve appConfig Sync and SyncEvent

Qiscus Chat SDK (core) v1.4.0

21 Jun 09:10
Compare
Choose a tag to compare

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

19 Apr 07:50
Compare
Choose a tag to compare

Changelog :

  • Implement feature network connection interval

Qiscus Chat SDK (core) v1.3.37

19 Apr 07:51
Compare
Choose a tag to compare

Changelog :

  • Implement feature network connection interval

Qiscus Chat SDK (buildIn) v2.31.2

16 Dec 14:28
Compare
Choose a tag to compare

Changelog :

  • Fix crash when uploading file with filename less than 3 characters

Qiscus Chat SDK (core) v1.3.36

16 Dec 14:28
Compare
Choose a tag to compare

Changelog :

  • Fix crash when uploading file with filename less than 3 characters