Android

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

Version 6.46.0 (2024-11-22)

New Features:

  • Introduced story creation permission setting.

  • Introduced updated user display name permission setting.

Android SDK Version

  • minSDKVersion: 21

  • targetSDKVersion: 34

Compatibility

  • OKHTTP3 - 4.9.2

  • Retrofit2 - 2.9.0

  • Android Paging Data Library - 3.1.1

  • Room - 2.5.1

  • RxJava3 - 3.1.5

  • Gson - 2.8.10

  • Kotlin-std-lib - 1.8.21

  • ​​HiveMQ mqtt client - 1.3.1

  • Firebase messaging - 23.0.0

  • Firebase Iid - 21.1.0

  • Media 3 - 1.1.0


Version 6.45.0 (2024-10-25)

New Features:

  • Introduced the livestream notification setting for the community.

Android SDK Version

  • minSDKVersion: 21

  • targetSDKVersion: 34

Compatibility

  • OKHTTP3 - 4.9.2

  • Retrofit2 - 2.9.0

  • Android Paging Data Library - 3.1.1

  • Room - 2.5.1

  • RxJava3 - 3.1.5

  • Gson - 2.8.10

  • Kotlin-std-lib - 1.8.21

  • ​​HiveMQ mqtt client - 1.3.1

  • Firebase messaging - 23.0.0

  • Firebase Iid - 21.1.0

  • Media 3 - 1.1.0


Version 6.44.0 (2024-10-10)

New Features:

  • Introduced a global featured post feature.

  • Introduced Jetpack Compose compatibility for AmityVideoPlayer.

Android SDK Version

  • minSDKVersion: 21

  • targetSDKVersion: 34

Compatibility

  • OKHTTP3 - 4.9.2

  • Retrofit2 - 2.9.0

  • Android Paging Data Library - 3.1.1

  • Room - 2.5.1

  • RxJava3 - 3.1.5

  • Gson - 2.8.10

  • Kotlin-std-lib - 1.8.21

  • ​​HiveMQ mqtt client - 1.3.1

  • Firebase messaging - 23.0.0

  • Firebase Iid - 21.1.0

  • Media 3 - 1.1.0


Version 6.43.0 (2024-10-03)

Fixes

  • Fixed the issue where follow/unfollow user actions were not successful.

  • Fixed the issue where block/unblock user actions were not successful.

Android SDK Version

  • minSDKVersion: 21

  • targetSDKVersion: 34

Compatibility

  • OKHTTP3 - 4.9.2

  • Retrofit2 - 2.9.0

  • Android Paging Data Library - 3.1.1

  • Room - 2.5.1

  • RxJava3 - 3.1.5

  • Gson - 2.8.10

  • Kotlin-std-lib - 1.8.21

  • ​​HiveMQ mqtt client - 1.3.1

  • Firebase messaging - 23.0.0

  • Firebase Iid - 21.1.0

  • Media 3 - 1.1.0


Version 6.42.0 (2024-09-13)

New Features

  • Introduced semantic post-search.

Fixes

  • Fixed an issue with parsing mentioned users when user IDs were empty.

Android SDK Version

  • minSDKVersion: 21

  • targetSDKVersion: 34

Compatibility

  • OKHTTP3 - 4.9.2

  • Retrofit2 - 2.9.0

  • Android Paging Data Library - 3.1.1

  • Room - 2.5.1

  • RxJava3 - 3.1.5

  • Gson - 2.8.10

  • Kotlin-std-lib - 1.8.21

  • ​​HiveMQ mqtt client - 1.3.1

  • Firebase messaging - 23.0.0

  • Firebase Iid - 21.1.0

  • Media 3 - 1.1.0


Version 6.41.0(2024-08-29)

New Features

  • Improved image upload performance by removing mandatory automatic file conversion. Image conversion can now be handled at the application level if needed.

Android SDK Version

  • minSDKVersion: 21

  • targetSDKVersion: 34

Compatibility

  • OKHTTP3 - 4.9.2

  • Retrofit2 - 2.9.0

  • Android Paging Data Library - 3.1.1

  • Room - 2.5.1

  • RxJava3 - 3.1.5

  • Gson - 2.8.10

  • Kotlin-std-lib - 1.8.21

  • HiveMQ mqtt client - 1.3.1

  • Firebase messaging - 23.0.0

  • Firebase Iid - 21.1.0 Media 3 - 1.1.0


Version 6.40.0 (2024-08-16)

New Features

  • Introduced real-time removal of deleted users from Followers, Followings, and Blocked users in LiveCollection.

Android SDK Version

  • minSDKVersion: 21

  • targetSDKVersion: 34

Compatibility

  • OKHTTP3 - 4.9.2

  • Retrofit2 - 2.9.0

  • Android Paging Data Library - 3.1.1

  • Room - 2.5.1

  • RxJava3 - 3.1.5

  • Gson - 2.8.10

  • Kotlin-std-lib - 1.8.21

  • ​​HiveMQ mqtt client - 1.3.1

  • Firebase messaging - 23.0.0

  • Firebase Iid - 21.1.0

  • Media 3 - 1.1.0


Version 6.39.0 (2024-08-02)

New Features

  • Introduced includeDeleted options to Channel Membership Query and Search API.

  • Introduced includeDeleted options to Community Membership Query and Search API.

Fixes

  • Fixed the issue where post and story analytics events failed to sync.

Android SDK Version

  • minSDKVersion: 21

  • targetSDKVersion: 34

Compatibility

  • OKHTTP3 - 4.9.2

  • Retrofit2 - 2.9.0

  • Android Paging Data Library - 3.1.1

  • Room - 2.5.1

  • RxJava3 - 3.1.5

  • Gson - 2.8.10

  • Kotlin-std-lib - 1.8.21

  • ​​HiveMQ mqtt client - 1.3.1

  • Firebase messaging - 23.0.0

  • Firebase Iid - 21.1.0

  • Media 3 - 1.1.0


Version 6.38.1 (2024-07-19)

Fixes

  • Fixed an issue where the unread count did not update when rejoining a channel.

  • Fixed an issue where read users could not be fetched on some devices.

Android SDK Version

  • minSDKVersion: 21

  • targetSDKVersion: 34

Compatibility

  • OKHTTP3 - 4.9.2

  • Retrofit2 - 2.9.0

  • Android Paging Data Library - 3.1.1

  • Room - 2.5.1

  • RxJava3 - 3.1.5

  • Gson - 2.8.10

  • Kotlin-std-lib - 1.8.21

  • ​​HiveMQ mqtt client - 1.3.1

  • Firebase messaging - 23.0.0

  • Firebase Iid - 21.1.0

  • Media 3 - 1.1.0


Version 5.35.4 (2024-07-19)

New Features

  • Introduced remote data clearance.

  • Introduced selective data persistence.

Android SDK Version

  • minSDKVersion: 21

  • targetSDKVersion: 33


Version 6.38.0 (2024-07-12)

New Features

  • Enhanced performance for uploading images, videos, and files.

  • Introduced features for announcement posts and pinned posts - Pinned Post.

  • Added the capability to monitor SDK network activities - Logging.

Android SDK Version

  • minSDKVersion: 21

  • targetSDKVersion: 34

Compatibility

  • OKHTTP3 - 4.9.2

  • Retrofit2 - 2.9.0

  • Android Paging Data Library - 3.1.1

  • Room - 2.5.1

  • RxJava3 - 3.1.5

  • Gson - 2.8.10

  • Kotlin-std-lib - 1.8.21

  • ​​HiveMQ mqtt client - 1.3.1

  • Firebase messaging - 23.0.0

  • Firebase Iid - 21.1.0

  • Media 3 - 1.1.0


Version 6.37.1 (2024-07-08)

New Features

  • Introduced a configuration that allows users to query up to 100 channel lists instead of 20.

Android SDK Version

  • minSDKVersion: 21

  • targetSDKVersion: 34

Compatibility

  • OKHTTP3 - 4.9.2

  • Retrofit2 - 2.9.0

  • Android Paging Data Library - 3.1.1

  • Room - 2.5.1

  • RxJava3 - 3.1.5

  • Gson - 2.8.10

  • Kotlin-std-lib - 1.8.21

  • ​​HiveMQ mqtt client - 1.3.1

  • Firebase messaging - 23.0.0

  • Firebase Iid - 21.1.0

  • Media 3 - 1.1.0


Version 6.37.0 (2024-07-05)

New Features

  • Introduced the AmityFileAccessType enum class, allowing image, video, audio, and file uploads with a specified access type.

Android SDK Version

  • minSDKVersion: 21

  • targetSDKVersion: 34

Compatibility

  • OKHTTP3 - 4.9.2

  • Retrofit2 - 2.9.0

  • Android Paging Data Library - 3.1.1

  • Room - 2.5.1

  • RxJava3 - 3.1.5

  • Gson - 2.8.10

  • Kotlin-std-lib - 1.8.21

  • ​​HiveMQ mqtt client - 1.3.1

  • Firebase messaging - 23.0.0

  • Firebase Iid - 21.1.0

  • Media 3 - 1.1.0


Version 6.36.0 (2024-06-20)

New Features

  • Introduced AmityCommentReferenceType enum class for AmityComment.

  • Introduced Ad analytics, enabling markAsSeen and markLinkAsClicked. For more information please visit Ads.

Fixes

  • Fixed version specification for core-ktx library.

Android SDK Version

  • minSDKVersion: 21

  • targetSDKVersion: 34

Compatibility

  • OKHTTP3 - 4.9.2

  • Retrofit2 - 2.9.0

  • Android Paging Data Library - 3.1.1

  • Room - 2.5.1

  • RxJava3 - 3.1.5

  • Gson - 2.8.10

  • Kotlin-std-lib - 1.8.21

  • ​​HiveMQ mqtt client - 1.3.1

  • Firebase messaging - 23.0.0

  • Firebase Iid - 21.1.0

  • Media 3 - 1.1.0

Version 6.35.0 (2024-06-07)

New Features

  • Introduced AmityAdRepository to the query network ads and settings. For more information please visit Ads.

Android SDK Version

  • minSDKVersion: 21

  • targetSDKVersion: 34

Compatibility

  • OKHTTP3 - 4.9.2

  • Retrofit2 - 2.9.0

  • Android Paging Data Library - 3.1.1

  • Room - 2.5.1

  • RxJava3 - 3.1.5

  • Gson - 2.8.10

  • Kotlin-std-lib - 1.8.21

  • ​​HiveMQ mqtt client - 1.3.1

  • Firebase messaging - 23.0.0

  • Firebase Iid - 21.1.0

  • Media 3 - 1.1.0

Version 6.34.0 (2024-05-24)

New Features

Android SDK Version

  • minSDKVersion: 21

  • targetSDKVersion: 34

Compatibility

  • OKHTTP3 - 4.9.2

  • Retrofit2 - 2.9.0

  • Android Paging Data Library - 3.1.1

  • Room - 2.5.1

  • RxJava3 - 3.1.5

  • Gson - 2.8.10

  • Kotlin-std-lib - 1.8.21

  • ​​HiveMQ mqtt client - 1.3.1

  • Firebase messaging - 23.0.0

  • Firebase Iid - 21.1.0

  • Media 3 - 1.1.0


Version 6.33.0 (2024-05-15)

New Features

  • Added support for filenames with non-ASCII characters during file uploads.

Android SDK Version

  • minSDKVersion: 21

  • targetSDKVersion: 34

Compatibility

  • OKHTTP3 - 4.9.2

  • Retrofit2 - 2.9.0

  • Android Paging Data Library - 3.1.1

  • Room - 2.5.1

  • RxJava3 - 3.1.5

  • Gson - 2.8.10

  • Kotlin-std-lib - 1.8.21 ​​

  • HiveMQ mqtt client - 1.3.1

  • Firebase messaging - 23.0.0

  • Firebase Iid - 21.1.0

  • Media 3 - 1.1.0


Version 6.32.0 (2024-04-26)

New Features

  • Introduce a displayName option in AmityCommunityMembershipSortOption.

  • Add support for an sortBy option in community member searches within AmityCommunityRepository.

Android SDK Version

  • minSDKVersion: 21

  • targetSDKVersion: 34

Compatibility

  • OKHTTP3 - 4.9.2

  • Retrofit2 - 2.9.0

  • Android Paging Data Library - 3.1.1

  • Room - 2.5.1

  • RxJava3 - 3.1.5

  • Gson - 2.8.10

  • Kotlin-std-lib - 1.8.21

  • ​​HiveMQ mqtt client - 1.3.1

  • Firebase messaging - 23.0.0

  • Firebase Iid - 21.1.0

  • Media 3 - 1.1.0


Version 6.31.0 (2024-04-12)

New Features

  • Introduce secureLogout() function to AmityCoreClient, enabling revoking of accessToken upon logout.

  • Introduce a dedicated function for community search, searchCommunities() in AmityCommunityRepository.

  • Introduce a separate livestream viewer controller for live and recorded livestream.

Deprecations

  • Deprecates withKeyword() function from AmityCommunityQuery.Builder.

Android SDK Version

  • minSDKVersion: 21

  • targetSDKVersion: 34

Compatibility

  • OKHTTP3 - 4.9.2

  • Retrofit2 - 2.9.0

  • Android Paging Data Library - 3.1.1

  • Room - 2.5.1

  • RxJava3 - 3.1.5

  • Gson - 2.8.10

  • Kotlin-std-lib - 1.7.10

  • ​​HiveMQ mqtt client - 1.3.1

  • Firebase messaging - 23.0.0

  • Firebase Iid - 21.1.0

  • Media 3 - 1.1.0


Version 6.30.0 (2024-03-22)

New Features

  • Introduced getVolume() and setVolume() function to AmityVideoPlayer.

Android SDK Version

  • minSDKVersion: 21

  • targetSDKVersion: 34

Compatibility

  • OKHTTP3 - 4.9.2

  • Retrofit2 - 2.9.0

  • Android Paging Data Library - 3.1.1

  • Room - 2.5.1

  • RxJava3 - 3.1.5

  • Gson - 2.8.10

  • Kotlin-std-lib - 1.7.10

  • ​​HiveMQ mqtt client - 1.3.1

  • Firebase messaging - 23.0.0

  • Firebase Iid - 21.1.0

  • Media 3 - 1.1.0


Version 6.29.0 (2024-03-06)

Fixes

  • Make sure the channel's message preview stays intact even when the most recent message in the channel is deleted.

Android SDK Version

  • minSDKVersion: 21

  • targetSDKVersion: 34

Compatibility

  • OKHTTP3 - 4.9.2

  • Retrofit2 - 2.9.0

  • Android Paging Data Library - 3.1.1

  • Room - 2.5.1

  • RxJava3 - 3.1.5

  • Gson - 2.8.10

  • Kotlin-std-lib - 1.7.10

  • ​​HiveMQ mqtt client - 1.3.1

  • Firebase messaging - 23.0.0

  • Firebase Iid - 21.1.0

  • Media 3 - 1.1.0


Version 6.28.0 (2024-02-24)

New Features

Android SDK Version

  • minSDKVersion: 21

  • targetSDKVersion: 34

Compatibility

  • OKHTTP3 - 4.9.2

  • Retrofit2 - 2.9.0

  • Android Paging Data Library - 3.1.1

  • Room - 2.5.1

  • RxJava3 - 3.1.5

  • Gson - 2.8.10

  • Kotlin-std-lib - 1.7.10

  • ​​HiveMQ mqtt client - 1.3.1

  • Firebase messaging - 23.0.0

  • Firebase Iid - 21.1.0

  • Media 3 - 1.1.0


Version 5.35.3 (2024-02-23)

Fixes

  • Incorrect exception throwing behavior on observeSessionState()

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.5.1

  • 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.27.0 (2024-02-09)

New Features

  • Introduced an ability to send a message in a broadcast channel via SDK.

Android SDK Version

  • minSDKVersion: 21

  • targetSDKVersion: 34

Compatibility

  • OKHTTP3 - 4.9.2

  • Retrofit2 - 2.9.0

  • Android Paging Data Library - 3.1.1

  • Room - 2.5.1

  • RxJava3 - 3.1.5

  • Gson - 2.8.10

  • Kotlin-std-lib - 1.7.10

  • ​​HiveMQ mqtt client - 1.3.1

  • Firebase messaging - 23.0.0

  • Firebase Iid - 21.1.0

  • Media 3 - 1.1.0


Version 6.26.0 (2024-01-25)

New Features

Implement consistent message unread count for channels & subchannels - for further information please visit - SDK v6.26.0 Unread Count Migration Guide.

  • New enableUnreadCount() method in AmityCoreClient which enables unread count feature for messages.

  • New syncUnreadCount() method in AmityCoreClient - Unread Count.

  • New subChannelsUnreadCount property in AmityChannel

  • New startMessageReceiptSync() & stopMessageReceiptSync() methods in AmitySubChannelRepository - Observe reading count.

  • New markRead() method in AmityMessage - Mark Message as Read.

  • New isMentioned property in AmityChannel & AmitySubChannel

Deprecations

  • AmityCoreClient.startUnreadSync()

  • AmityCoreCLient.stopUnreadSync()

  • AmityChannel.getUnreadCount()

  • AmityChannel.hasMentioned()

  • AmitySubChannel.hasMentioned()

  • AmitySubChannel.startReading()

  • AmitySubChannel.stopReading()

  • AmityUserUnread.hasMentioned

Android SDK Version

  • minSDKVersion: 21

  • targetSDKVersion: 34

Compatibility

  • OKHTTP3 - 4.9.2

  • Retrofit2 - 2.9.0

  • Android Paging Data Library - 3.1.1

  • Room - 2.5.1

  • RxJava3 - 3.1.5

  • Gson - 2.8.10

  • Kotlin-std-lib - 1.7.10

  • ​​HiveMQ mqtt client - 1.3.1

  • Firebase messaging - 23.0.0

  • Firebase Iid - 21.1.0

  • Media 3 - 1.1.0


Version 6.25.1 (2024-01-19)

Fixes

  • Fixed the issue where the message preview was removed when someone left the channel.

Android SDK Version

  • minSDKVersion: 21

  • targetSDKVersion: 33

Compatibility

  • OKHTTP3 - 4.9.2

  • Retrofit2 - 2.9.0

  • Android Paging Data Library - 3.1.1

  • Room - 2.5.1

  • RxJava3 - 3.1.5

  • Gson - 2.8.10

  • Kotlin-std-lib - 1.7.10

  • ​​HiveMQ mqtt client - 1.3.1

  • Firebase messaging - 23.0.0

  • Firebase Iid - 21.1.0

  • Media 3 - 1.1.0


Version 6.24.0 🎄🎅 (2023-12-22)

New Features:

  • Upgrade targetSdkVersion to 34.

  • Introduce getChannels(channelIds: List<String>) function to AmityChannelRepository. For further information please visit Get Channels.

Android SDK Version

  • minSDKVersion: 21

  • targetSDKVersion: 34

Compatibility

  • OKHTTP3 - 4.9.2

  • Retrofit2 - 2.9.0

  • Android Paging Data Library - 3.1.1

  • Room - 2.5.1

  • RxJava3 - 3.1.5

  • Gson - 2.8.10

  • Kotlin-std-lib - 1.7.10

  • ​​HiveMQ mqtt client - 1.3.1

  • Firebase messaging - 23.0.0

  • Firebase Iid - 21.1.0

  • Media 3 - 1.1.0


Version 6.23.2 (2023-12-12)

Fixes

  • Fixed issue of failing to send messages when starting the app/SDK in offline mode.

Android SDK Version

  • minSDKVersion: 21

  • targetSDKVersion: 33

Compatibility

  • OKHTTP3 - 4.9.2

  • Retrofit2 - 2.9.0

  • Android Paging Data Library - 3.1.1

  • Room - 2.5.1

  • RxJava3 - 3.1.5

  • Gson - 2.8.10

  • Kotlin-std-lib - 1.7.10

  • ​​HiveMQ mqtt client - 1.3.1

  • Firebase messaging - 23.0.0

  • Firebase Iid - 21.1.0

  • Media 3 - 1.1.0


Version 6.23.1 (2023-12-07)

Fixes

  • Fixed uploading videos and images cause URI exception in some cases.

Android SDK Version

  • minSDKVersion: 21

  • targetSDKVersion: 33

Compatibility

  • OKHTTP3 - 4.9.2

  • Retrofit2 - 2.9.0

  • Android Paging Data Library - 3.1.1

  • Room - 2.5.1

  • RxJava3 - 3.1.5

  • Gson - 2.8.10

  • Kotlin-std-lib - 1.7.10

  • ​​HiveMQ mqtt client - 1.3.1

  • Firebase messaging - 23.0.0

  • Firebase Iid - 21.1.0

  • Media 3 - 1.1.0


Version 6.23.0 (2023-12-01)

New Features

  • Added support for queuing of messages of similar types & retrying of message in case of network errors.

  • Added support deleting failed messages.

Android SDK Version

  • minSDKVersion: 21

  • targetSDKVersion: 33

Compatibility

  • OKHTTP3 - 4.9.2

  • Retrofit2 - 2.9.0

  • Android Paging Data Library - 3.1.1

  • Room - 2.5.1

  • RxJava3 - 3.1.5

  • Gson - 2.8.10

  • Kotlin-std-lib - 1.7.10

  • ​​HiveMQ mqtt client - 1.3.1

  • Firebase messaging - 23.0.0

  • Firebase Iid - 21.1.0

  • Media 3 - 1.1.0


Version 6.22.1 (2023-11-24)

Fixes

Deprecations

  • Deprecated getFilePath() on AmityImage, AmityFile, AmityAudio and AmityVideo.