Links

Android

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

Version 5.33.6 (2023-03-16)

Fixes

  • Fixed issue where duplicate image files were appearing in the device memory when uploading an avatar image.

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.7 (2023-03-14)

Fixes

  • Fixed issue to prevent crashes during code obfuscation under specific conditions.

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 6.4.0 (2023-03-13)

New Features

Fixes

  • Fixed issue with community query filter by category id.

Improvements

  • Improved session component.

Deprecations

  • AmityComment.getData().edit() is deprecated. Please use AmityComment.edit() instead.

Android SDK version

  • minSDKVersion - 21
  • targetSDKVersion - 33

Compatibility

  • OKHTTP3 - 4.9.2
  • 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
  • Exo Player - 2.18.1

Version 6.3.0 (2023-02-24)

New Features

  • Upgraded ExoPlayer to version 2.18.1
  • Upgraded OkHttp to version 4.9.2

Android SDK version

  • minSDKVersion - 21
  • targetSDKVersion - 33

Compatibility

  • OKHTTP3 - 4.9.2
  • 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
  • Exo Player - 2.18.1

Version 5.33.5 (2023-02-21)

Improvement

  • Improved the session state functionality.

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 6.2.0 (2023-02-09)

New Features

  • Enhanced LiveCollections for community. Newly joined communities are now automatically added to LiveCollections if they match the query filter in pagingData to provide a streamlined and updated community experience.

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.33.4 (2023-02-08)

Fixes

  • Fixed issue where the live object is unable to retrieve data from the backend.

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 6.1.0 (2023-02-03)

New Features

  • Enhanced LiveCollections for community members. Newly added community members are now automatically included in the collection.

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.33.3 (2023-02-01)

Fixes

  • Updated Exo Player to version 2.18.1

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 6.0.0 (2023-01-13)

New Features

  • Introduced Sub Channel functionality. Now users can create sub channels inside a channel.

Fixes

  • Fixed issue where the user cannot edit post.
  • Fixed issue where the user cannot reply as a video message in the channel.
  • Fixed issue where the highlight was not displayed correctly when editing a mention.

Breaking Changes

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.33.2 (2023-01-13)

Fixes

  • Fixed issue where Real time events were not working on social module.

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.33.1 (2023-01-05)

Fixes

  • Fixed issue where the moderator badge was not displayed under the moderator's name in the post.
  • Fixed issue where the user cannot delete a message if the message status has failed or there is no network connection.

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.33.0 (2022-12-16)

New Features

AmityCoreClient {
public func login(userId: String,sessionHandler: SessionHandler?): UserRegistration.Builder
}
  • Added issuedAt, expiresAt API to AmityCoreClient
  • Added observeSessionState() API to AmityCoreClient

Deprecations

  • Deprecated AmityCoreCllient.login(userId: String). Please use AmityCoreClient.login(userId: String, sessionHandler: SessionHandler) instead.
  • Deprecated getConnectionState() API.

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.32.0 (2022-12-02)

Fixes

  • Fixed issue where app crashes when HiveMQ fail to initialize in Android 11.
  • Fixed issue where user cannot view the list of My Following users.

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.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 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.
  • Introduced the ability to query message by type.
  • Introduced the ability to query poll type.

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 ​​