Releases: qiscus/qiscus-sdk-android
Releases · qiscus/qiscus-sdk-android
2.30.0
- deprecated api search
- change comment state mechanism
- add api comment info
- fix forward for file attachment
2.29.3
- Deprecated delete for me
- fix bug upload progress
2.29.2
- 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
- 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
- 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
- fix bug Jupuk (Qiscus Document Picker)
- fix typo Denny Permission -> Deny Permission
- provide
getChatRooms()
local withlimit, offset
params
QiscusCore.getDataStore().getChatRooms(limit, offset);
//or for Observable
QiscusCore.getDataStore().getObservableChatRooms(limit, offset);
2.28.1
- several bugs fix
- new mechanism to get MQTT host with Qiscus MQTT LB
2.28.0
- fix
TransactionTooLargeException
when rotate - fix selectable comment when text contains link
- add extras in
QiscusAccount
andQiscusRoomMember
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
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)