Links

Android

This page contains an overview of all relevant changes made to the Android SDK and the latest version releases

Version 5.31.0 (2022-11-18)

New Features

  • Upgraded the post review feature. When a moderator role is demoted to a user role, post creation must be approved by a moderator.
  • Introduced the ability to allow users to show or hide the logs from SDK by resource configuration.

Fixes

  • Fixed issue where a deleted stream still appears in the list of recommended livestreams.

Android SDK Version

  • minSDKVersion - 21
  • targetSDKVersion - 33

Compatibility

  • OKHTTP3 - 4.9.0
  • Retrofit2 - 2.9.0
  • Android Paging Data Library - 3.0.1
  • Room - 2.4.0-alpha04
  • RxJava2 - 2.3.10
  • Gson - 2.8.10
  • Kotlin-std-lib - 1.5.10
  • HiveMQ mqtt client - 1.2.2
  • Firebase messaging - 23.0.0
  • Firebase Iid - 21.1.0

Version 5.30.0 (2022-11-04)

New Features

  • Introduced the ability for User roles to create community with “Admin can post only” settings.

Fixes

  • Fixed issue where an incorrect result was displayed when a member was queried as PagedList.

Android SDK Version

  • minSDKVersion - 21
  • targetSDKVersion - 33

Compatibility

  • OKHTTP3 - 4.9.0
  • Retrofit2 - 2.9.0
  • Android Paging Data Library - 3.0.1
  • Room - 2.4.0-alpha04
  • RxJava2 - 2.3.10
  • Gson - 2.8.10
  • Kotlin-std-lib - 1.5.10
  • ​​HiveMQ mqtt client - 1.2.2
  • Firebase messaging - 23.0.0
  • Firebase Iid - 21.1.0

Version 5.29.0 (2022-10-21)

New Features

  • Introduced the ability to query poll type.
  • Introduced the ability to query message by type.
  • Introduced the ability for the channel moderator to promote a user/member to moderator.
  • Introduced the ability for the channel moderator to demote a moderator to a user/member.

Fixes

  • Fixed issue where the group profile picture was not displayed correctly.
  • Fixed issue where the community admin could not view the post review.

Android SDK Version

  • minSDKVersion - 21
  • targetSDKVersion - 33

Compatibility

  • OKHTTP3 - 4.9.0
  • Retrofit2 - 2.9.0
  • Android Paging Data Library - 3.0.1
  • Room - 2.4.0-alpha04
  • RxJava2 - 2.3.10
  • Gson - 2.8.10
  • Kotlin-std-lib - 1.5.10
  • ​​HiveMQ mqtt client - 1.2.2
  • Firebase messaging - 23.0.0
  • Firebase Iid - 21.1.0.0

Version 5.28.0 (2022-10-07)

New Features

  • Introduced the ability to create video messgaes in Live, Broadcast, Community and Chat channels.
  • When creating a poll post, the closedIn value is set to 30 days by default if the user does not set any value.

Fixes

  • Fixed issue where creating a broadcast message with mention was not possible.
  • Fixed issue where has mention was not updated when a user was mentioned.

Deprecations

  • Deprecated CreateAuthToken(). Please use CreateUserToken() in AmityUserTokenManager instead.
  • Deprecated query(). Please use getPagingData() in AmityStreamQuery instead.

Android SDK Version

  • minSDKVersion - 21
  • targetSDKVersion - 33

Compatibility

  • OKHTTP3 - 4.9.0
  • Retrofit2 - 2.9.0
  • Android Paging Data Library - 3.0.1
  • Room - 2.4.0-alpha04
  • RxJava2 - 2.3.10
  • Gson - 2.8.10
  • Kotlin-std-lib - 1.5.10
  • ​​HiveMQ mqtt client - 1.2.2
  • Firebase messaging - 23.0.0
  • Firebase Iid - 21.1.0

Version 5.27.1 (2022-10-05)

Fixes

  • Fixed issue where avatar of the community is not visible on the Recommended and Trending pages.

Compatibility

  • OKHTTP3 - 4.9.0
  • Retrofit2 - 2.9.0
  • Android Paging Data Library - 3.0.1
  • Room - 2.4.0-alpha04
  • RxJava2 - 2.3.10
  • Gson - 2.8.10
  • Kotlin-std-lib - 1.5.10
  • ​​HiveMQ mqtt client - 1.2.2

Version 5.27.0 (2022-09-23)

Fixes

  • Non-members with the User role can no longer be able to get information about the conversation channel.
  • Non-members with the User role can no longer query messages within the conversation channel.

Compatibility

  • OKHTTP3 - 4.9.0
  • Retrofit2 - 2.9.0
  • Android Paging Data Library - 3.0.1
  • Room - 2.4.0-alpha04
  • RxJava2 - 2.3.10
  • Gson - 2.8.10
  • Kotlin-std-lib - 1.5.10
  • ​​HiveMQ mqtt client - 1.2.2

Version 5.26.0 (2022-09-09)

New Features

  • Community query is now case-insensitive! You no longer have to match the case sensitivity of the community’s display name when querying for a community.
  • System now displays an error message while uploading HDR video format.

Fixes

  • Fixed issue where error message was not displayed while uploading a video with unsupported file type

Compatibility

  • OKHTTP3 - 4.9.0
  • Retrofit2 - 2.9.0
  • Android Paging Data Library - 3.0.1
  • Room - 2.4.0-alpha04
  • RxJava2 - 2.3.10
  • Gson - 2.8.10
  • Kotlin-std-lib - 1.5.10
  • ​HiveMQ mqtt client - 1.2.2

Version 5.25.0 (2022-08-26)

New Features

  • Enhanced Video on Demand (VOD) configurations. Videos you upload with our SDK can now be transcoded to 4 different resolutions (from 360p to 1080p) with a maximum file size of 1 GB and a duration of up to 2 hours.
  • New method uploadVideo(uri: Uri, feedType: AmityContentFeedType) is added in AmityFileRepository to specify the content type of the video.

Deprecations

  • Deprecated AmityFileRepository.uploadVideo(uri: Uri). Please use AmityFileRepository.uploadVideo(uri: Uri, feedType: AmityContentFeedType) instead.
  • Deprecated AmityPost.Data.VIDEO.getAvailableQualities(). Please use AmityPost.Data.VIDEO.getAvailableResolutions() instead.

Compatibility

  • OKHTTP3 - 4.9.0
  • Retrofit2 - 2.9.0
  • Android Paging Data Library - 3.0.1
  • Room - 2.4.0-alpha04
  • RxJava2 - 2.3.10
  • Gson - 2.8.10
  • Kotlin-std-lib - 1.5.10
  • ​​HiveMQ mqtt client - 1.2.2

Version 5.24.0 (2022-08-11)

New Features

  • Enhanced LiveCollections for message reactions. Newly created reactions are now automatically added into the collection.
  • Enhanced LiveCollections for followers/following users. Newly created followed/unfollowed are now automatically added into the collection.

Fixes

  • Fixed issue where an error occurs while unfollowing an user

Compatibility

  • OKHTTP3 - 4.9.0
  • Retrofit2 - 2.9.0
  • Android Paging Data Library - 3.0.1
  • Room - 2.4.0-alpha04
  • RxJava2 - 2.3.10
  • Gson - 2.8.10
  • Kotlin-std-lib - 1.5.10
  • ​​HiveMQ mqtt client - 1.2.2

Version 5.23.0 (2022-07-29)

New Features

  • Enhanced LiveCollections for users and community post. Newly added comments are now automatically added into the collection.
  • Support PagingData while fetching query community member.

Compatibility

  • OKHTTP3 - 4.9.0
  • Retrofit2 - 2.9.0
  • Android Paging Data Library - 3.0.1
  • Room - 2.4.0-alpha04
  • RxJava2 - 2.3.10
  • Gson - 2.8.10
  • Kotlin-std-lib - 1.5.10
  • ​​HiveMQ mqtt client - 1.2.2

Version 5.22.0 (2022-07-15)

New Features

  • Enhanced LiveCollections for user and community posts! Newly created posts are now automatically added into the collection.
  • Introduced real-time event for channel deletion.

Fixes

  • Fixed issue where connection state was constantly being updated, even when the state did not have any changes.

Compatibility

  • OKHTTP3 - 3.14.9
  • Retrofit2 - 2.9.0
  • Android Paging Data Library - 3.0.1
  • Room - 2.4.0-alpha04
  • RxJava2 - 2.3.10
  • RxJava3 - 3.1.5
  • Gson - 2.8.10
  • Kotlin-std-lib - 1.5.10
  • ​​HiveMQ mqtt client - 1.2.2

Version 5.21.0 (2022-07-04)

New Features

  • Introduced ability to manage community post settings via SDK (i.e. 'Only Admins Can Post' or 'Approve Member Posts')

Fixes

  • Fixed issue where users who weren't logged in were receiving push notifications.

Compatibility

  • OKHTTP3 - 3.14.9
  • Retrofit2 - 2.9.0
  • Android Paging Data Library - 3.0.1
  • Room - 2.4.0-alpha04
  • RxJava2 - 2.3.10
  • Gson - 2.8.10
  • Kotlin-std-lib - 1.5.10 ​
  • HiveMQ mqtt client - 1.2.2

Version 5.20.0 (2022-06-17)

New Features

  • Support PagingData while fetching community list in CommunityRepository

Compatibility

  • OKHTTP3 - 4.9.0
  • Retrofit2 - 2.50
  • Android Paging Data Library - 3.0.1
  • Room - 2.4.0-alpha04
  • RxJava2 - 2.3.10
  • Gson - 2.8.10
  • Kotlin-std-lib - 1.5.10 ​​
  • HiveMQ mqtt client - 1.2.2

Version 5.19.0 (2022-06-02)

Fixes

  • SDK Upgrade

Compatibility

  • OKHTTP3 - 4.9.0
  • Retrofit2 - 2.50
  • Android Paging Data Library - 3.0.1
  • Room - 2.4.0-alpha04
  • RxJava2 - 2.3.10
  • Gson - 2.8.10
  • Kotlin-std-lib - 1.5.10 ​​
  • HiveMQ mqtt client - 1.2.2

Version 5.18.0 (2022-05-20)

New features

  • Real time update of user deletion
  • Support PagingData while fetching user list in UserRepository

Compatibility

  • OKHTTP3 - 4.9.0
  • Retrofit2 - 2.50
  • Android Paging Data Library - 3.0.1
  • Room - 2.4.0-alpha04
  • RxJava2 - 2.3.10
  • Gson - 2.8.10
  • Kotlin-std-lib - 1.5.10 ​​
  • HiveMQ mqtt client - 1.2.2

Version 5.17.0 (2022-05-09)

Compatibility

  • OKHTTP3 - 4.9.0
  • Retrofit2 - 2.50
  • Android Paging Data Library - 3.0.1
  • Room - 2.4.0-alpha04
  • RxJava2 - 2.3.10
  • Gson - 2.8.10
  • Kotlin-std-lib - 1.5.10 ​​
  • HiveMQ mqtt client - 1.2.2

Version 5.16.0 (2022-04-22)

User

  • Expose isDeleted attribute in AmityUser model

Compatibility

  • OKHTTP3 - 4.9.0
  • Retrofit2 - 2.50
  • Android Paging Data Library - 3.0.1
  • Room - 2.4.0-alpha04
  • RxJava2 - 2.3.10
  • Gson - 2.8.10
  • Kotlin-std-lib - 1.5.10 ​​
  • HiveMQ mqtt client - 1.2.2

Version 5.15.1 (2022-04-05)

Fix

  • Fix image orientation when uploading an image with portrait orientation in chat messages

Compatibility

  • OKHTTP3 - 4.9.0
  • Retrofit2 - 2.50
  • Android Paging Data Library - 3.0.1
  • Room - 2.4.0-alpha04
  • RxJava2 - 2.3.10
  • Gson - 2.8.10
  • Kotlin-std-lib - 1.5.10
  • ​​HiveMQ mqtt client - 1.2.2

Version 5.15.0 (2022-03-31)

New Feature

  • SDK upgrade

Compatibility

  • OKHTTP3 - 4.9.0
  • Retrofit2 - 2.50
  • Android Paging Data Library - 3.0.1
  • Room - 2.4.0-alpha04
  • RxJava2 - 2.3.10
  • Gson - 2.8.10
  • Kotlin-std-lib - 1.5.10
  • ​​HiveMQ mqtt client - 1.2.2

Version 5.14.0 (2022-03-17)

New Feature

  • SDK upgrade

Compatibility

  • OKHTTP3 - 4.9.0
  • Retrofit2 - 2.50
  • Android Paging Data Library - 3.0.1
  • Room - 2.4.0-alpha04
  • RxJava2 - 2.3.10
  • Gson - 2.8.10
  • Kotlin-std-lib - 1.5.10

Version 5.12.0 (2022-02-17)

New Feature

  • SDK upgrade

Breaking Change

  • Remove Jcenter dependencies from SDK. You need to compile SDK using compileSdkVersion 31 and above.

Compatibility

  • OKHTTP3 - 4.9.0
  • Retrofit2 - 2.50
  • Android Paging Data Library - 3.0.1
  • Room - 2.4.0-alpha04
  • RxJava2 - 2.3.10
  • Gson - 2.8.10
  • Kotlin-std-lib - 1.5.10

Version 5.11.0 (2022-02-04)

New Feature

  • SDK upgrade

Compatibility

  • OKHTTP3 - 4.9.0
  • Retrofit2 - 2.50
  • Android Paging Data Library - 3.0.1
  • Room - 2.3.0
  • RxJava2 - 2.3.10
  • Gson - 2.8.10
  • Kotlin-std-lib - 1.5.10

Version 5.10.0 (2022-01-25)

New features

Explicit disconnection

  • Introduce disconnect() in AmityCoreClient as an option to disconnect from ASC without cache clearing. Connection can be resumed by calling login().

Breaking Changes

  • registerDevice() is replaced with login()
  • unregisterDevice()is replaced with logout()

Compatibility

  • OKHTTP3 - 4.9.0
  • Retrofit2 - 2.50
  • Android Paging Data Library - 3.0.1
  • Room - 2.3.0
  • RxJava2 - 2.3.10
  • Gson - 2.8.10
  • Kotlin-std-lib - 1.5.10

Version 5.8.0 (2021-12-09)

New Feature

  • SDK upgrade

Breaking Changes

  • Changed the methods for channel mentions to mentionUsers(...) and mentionChannel() and removed the old mention(...) method
  • Moved classes to a new package (com.amity.socialcloud.sdk.core.mention)
    • AmityMentionee
    • AmityMentioneeTarget
    • AmityMentionMetadata
    • AmityMentionMetadataCreator
    • AmityMentionMetadataGetter
    • AmityMentionType

Compatibility

  • OKHTTP3 - 4.9.0
  • Retrofit - 2.50
  • Android Paging Data Library - 3.0.1
  • Room - 2.3.0
  • RxJava2 - 2.3.10
  • Gson - 2.8.10
  • Kotlin-std-lib - 1.5.10
  • Transitive library dependencies

Version 5.7.2-beta-01 (2021-11-15)

New Feature

  • Add connection status APIs

Compatibility

  • OKHTTP - 3.10.0
  • Retrofit - 2.4.0
  • Android Paging Data Library - 3.0.0
  • Room - 2.3.0
  • Kotlin-std-lib - 1.3.72

Version 5.7.1 (2021-11-02)

Fixes

  • Fix registering device with global banned user takes 10 seconds to response
  • Fix package name conflicts caused compilation error (org.bson)

Compatibility

  • OKHTTP - 3.10.0
  • Retrofit - 2.4.0
  • Android Paging Data Library - 3.0.0
  • Room - 2.3.0
  • Kotlin-std-lib - 1.3.72

Version 5.7.0 (2021-10-14)

New Feature

Mention

  • Provide user model along with mention data

Fix

  • Incomplete result of channel member query with filter of “non-member”

Compatibility

  • OKHTTP - 3.10.0
  • Retrofit - 2.4.0
  • Android Paging Data Library - 3.0.0
  • Room - 2.3.0
  • Kotlin-std-lib - 1.3.72

Version 5.6.0 (2021-09-14)

New Features

Mention

  • Support for mention in TEXT messages
  • Search members in a given channel
  • Provide unread mention information
  • Provide network settings of messaging configurations in AmityChatClient

Fixes

  • Incorrect order of messages in FAILED state
  • Missing image URL from incoming IMAGE message

Compatibility

  • OKHTTP - 3.10.0
  • Retrofit - 2.4.0
  • Android Paging Data Library - 3.0.0
  • Room - 2.3.0
  • Kotlin-std-lib - 1.3.72

Version 5.4.1 (2021-08-13)

Fixes
  • Fixed an error where a banned user can still receive message in the channel
  • Updated channel cache data when ban event is received, while joining channel, and querying messages
Others
  • SDK Global ban exposure

Version 5.3.0 (2021-07-08)

Others
  • Add an ability to disable Jetifier by removing Android Support Library components
  • Remove Mockito from public dependency

Version 5.0.3 (2021-06-30)

  • Remove all legacy Android Support Library components

Version 5.0.2 (2021-05-25)

Fixes
  • Minor enhancements and continuous improvement

Version 5.0.1 (2021-05-25)

Fixes
  • Minor enhancements and continuous improvement

Version 5.0.0

Fixes

  • Minor enhancements and continuous improvement

Last modified 16d ago