Skip to content

Releases: qiscus/qiscus-sdk-android

2.30.0

17 Jan 09:08
Compare
Choose a tag to compare
  • deprecated api search
  • change comment state mechanism
  • add api comment info
  • fix forward for file attachment

2.29.3

18 Dec 08:43
Compare
Choose a tag to compare
  • Deprecated delete for me
  • fix bug upload progress

2.29.2

03 Dec 10:44
Compare
Choose a tag to compare
  • Update Android Support lib to 28
  • Update Glide to 4.8
  • Update Play Service to 16.0.0
  • Update Firebase Messaging to 17.3.4
  • Update Firebase Core to 16.0.5

2.29.1

27 Nov 10:19
Compare
Choose a tag to compare
  • fix bug update_comment_status when open room
  • deprecated delete for me (this method is still available, but will be removed in next release)
  • Change NetworkChecker mechanism

2.29.0

13 Nov 05:51
Compare
Choose a tag to compare
  • Fix bug unread count in channel
  • Provide Custom Event
// publish custom event
QiscusPusherApi.getInstance().setEvent(long roomId, JSONObject data)

// listening event
QiscusPusherApi.getInstance().listenEvent(roomId);

//unlisten event
QiscusPusherApi.getInstance().unlistenEvent(roomId);

2.28.2

18 Oct 04:53
Compare
Choose a tag to compare
  • fix bug Jupuk (Qiscus Document Picker)
  • fix typo Denny Permission -> Deny Permission
  • provide getChatRooms() local with limit, offset params
QiscusCore.getDataStore().getChatRooms(limit, offset);

//or for Observable

QiscusCore.getDataStore().getObservableChatRooms(limit, offset);

2.28.1

04 Sep 09:48
Compare
Choose a tag to compare
  • several bugs fix
  • new mechanism to get MQTT host with Qiscus MQTT LB

2.28.0

21 Aug 10:21
Compare
Choose a tag to compare
  • fix TransactionTooLargeException when rotate
  • fix selectable comment when text contains link
  • add extras in QiscusAccount and QiscusRoomMember

Extras is JSONObject, you can define like below :

String stringJsonExtras = "{\"gender\" : \"male\", \"hobby\" : \"music\"}";
JSONObject jsonExtras = new JSONObject(stringJsonExtras);

Qiscus.setUser("[email protected]" , "12345678")
      .withUsername("jarjit")
      .withAvatarUrl("https://api.adorable.io/avatars/285/[email protected]")
      .withExtras(jsonExtras)
      .save(new Qiscus.SetUserListener() {
          @Override
          public void onSuccess(QiscusAccount qiscusAccount) {
              //on success followup
          }
          @Override
          public void onError(Throwable throwable) {
              //do anything if error occurs
      });

Get the extras by using QiscusAccount object or QiscusRoomMember object like below :

// QiscusAccount
Qiscus.getQiscusAccount().getExtras()

// QiscusRoomMember
QiscusChatRoom chatRoom = Qiscus.getDataStore().getChatRoom(123);
        
for (QiscusRoomMember member : chatRoom.getMember()) {
    member.getExtras()
}
  • API for getRoomMembers
 /**
 * roomUniqueId String
 * offset intger
 * orderKey String | valid value name, joined_at or email, default to order by name
 * sorting String  | asc or desc, default to asc
 * userName String | if you want to get participants based on userName filter
 * metaRoomMembersListener MetaRoomMembersListener
 */
 QiscusApi.getInstance().getRoomMembers(roomUniqueId, offset, orderKey, sorting, userName, metaRoomMembersListener);

2.27.0

24 Jul 09:04
Compare
Choose a tag to compare

If you are using glide version 3.+ , please update using glide version 4.7.1.

  • Support Glide v4.7.1
  • fix auto resend
  • add functions getBlockedUsers()
// get all blocked users without page
QiscusApi.getInstance().getBlockedUsers()

/**
 * get all blocked users with pagination
 * page (long)
 * limit (long)
 */
QiscusApi.getInstance().getBlockedUsers(page, limit)

2.26.2