Android
This page contains an overview of all relevant changes made to the Android SDK and the latest version releases
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
, andBlocked users
inLiveCollection
.
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 forAmityComment
.Introduced Ad analytics, enabling
markAsSeen
andmarkLinkAsClicked
. 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 toAmityCoreClient
, enabling revoking of accessToken upon logout.Introduce a dedicated function for community search,
searchCommunities()
inAmityCommunityRepository
.Introduce a separate livestream viewer controller for live and recorded livestream.
Deprecations
Deprecates
withKeyword()
function fromAmityCommunityQuery.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 inAmityCoreClient
- Unread Count.New
subChannelsUnreadCount
property inAmityChannel
New
startMessageReceiptSync()
&stopMessageReceiptSync()
methods inAmitySubChannelRepository
- Observe reading count.New
markRead()
method in AmityMessage - Mark Message as Read.New
isMentioned
property inAmityChannel
&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 toAmityChannelRepository
. 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
Incorrect behaviour of session error in functions that return PagingData to avoid crashes. Session error can now be handled by observing LoadState.Error from PagingDataAdapter. For further PagingData error handling please visit - https://developer.android.com/topic/libraries/architecture/paging/load-state#adapter
Deprecations
Deprecated
getFilePath()
onAmityImage
,AmityFile
,AmityAudio
andAmityVideo
.
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.0 (2023-11-17)
New Features
Added support for metadata when creating and updating image, file, audio and video message.
Added functionality to create private community channel.
Introduced
getUri()
forAmityImage
,AmityFile
,AmityAudio
andAmityVideo
.
Deprecations
Deprecated
getFilePath()
onAmityImage
,AmityFile
,AmityAudio
andAmityVideo
.
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.21.0 (2023-11-03)
New Features
Introduced membership type for
AmityChannelMember
.
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.20.0 (2023-10-20)
New Features
Introduced a new function to create attachment message, supporting existing file IDs when create an attachment message.
Deprecations
Deprecated AmityMessageRepository's
createImageMessage(subChannelId: String, imageUri: Uri)
function, use AmityMessageRepository'screateImageMessage(subChannelId: String, attachment: AmityMessageAttachment)
instead.Deprecated AmityMessageRepository's
createVideoMessage(subChannelId: String, videoUri: Uri)
function, use AmityMessageRepository'screateVideoMessage(subChannelId: String, attachment: AmityMessageAttachment)
instead.Deprecated AmityMessageRepository's
createFileMessage(subChannelId: String, fileUri: Uri)
function, use AmityMessageRepository'screateFileMessage(subChannelId: String, attachment: AmityMessageAttachment)
instead.Deprecated AmityMessageRepository's
createAudioMessage(subChannelId: String, audioUri: Uri)
function, use AmityMessageRepository'screateAudioMessage(subChannelId: String, attachment: AmityMessageAttachment)
instead.
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.19.0 (2023-10-06)
New Features
Added new feature to preview latest message sent in channel or subchannel. For more information, please visit Message Preview
Added a new feature for SDK to collect and view data of post interaction. For more information, please visit Post Impression.
Added and ability to play a livestream playback on
AmityVideoPlayer
for enhanced livestream playback for an improved video-watching experience.
Fixes
Fix incorrect result of reaction query on Post and Comment
Deprecations
Deprecated AmityVideoPlayer's
play(streamId: String, url: String)
function, use AmityVideoPlayer'splay(streamId: String)
instead.
Breaking Changes
Obsoleted AmityStream's '
getRecordings()
function, Recorded videos must be played with AmityVideoPlayer'splay(streamId: String)
functionObsoleted AmityStream's
getWatcherData()
function, LiveStream must be played with AmityVideoPlayer'splay(streamId: String)
function
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.18.0 (2023-09-22)
Features
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.17.0 (2023-09-08)
Features
Introduced
target: AmityCommentTarget
property inAmityComment
for gettingtargetId
andtargetType
related to the comment. IftargetType
is community type, the SDK will also providecreatorMember
which isAmityCommunityMember
.Supported community users in comments for moderator role checking.
Exposed file metadata on AmityVideo.
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.16.1 (2023-09-04)
Fixes
Added the missing
getDuration()
function to theAmityVideo
object.
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.16.0 (2023-08-25)
Features
Added an option to encrypt the SDK database.
Fixes
Fixed a race-condition when creating a message.
Fixed the issue with sub-channel sorting not updating after receiving a message.
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.15.0 (2023-08-10)
Features
Limited
PostRepository.getPosts()
to exclude all deleted posts (both soft and hard deletes) not owned by the logged-in user, aligning with this#behavioral-change-announcement.
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 5.35.0 (2023-08-10)
New Features
Added option to encrypt SDK database.
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.14.1 (2023-08-09)
Fixes
Fixed the issue where the message list jumps when entering the chatroom.
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.14.0 (2023-08-04)
New Features
Introduced the new Presence State feature in our SDK, allowing real-time synchronization of user statuses. Experience enhanced connectivity with online/offline indicators and seamless management of user presence within channels and users.
Supports unread mention status in user, channel, and subchannel levels. For further information, please refer to Unread Count page.
Introduced support for Jetpack Media3. While ExoPlayer is still compatible for those who prefer it, we strongly recommend upgrading to Jetpack Media3, as Google has discontinued ExoPlayer due to its deprecation.
Fixes
Fixed the issue where the follower/following count wasn't constantly updated.
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
Exo Player - 2.18.1
Version 6.13.0 (2023-07-27)
New Features
Introduced a new function,
stopPreview()
, inAmityStreamBroadcaster
to prevent occasional black screen issues that were happening during camera previews on Samsung devices.
Fixes
Fixed an issue with the
includeDeleted
filter on post queries.
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
Exo Player - 2.18.1
Version 6.6.0-beta07 (2023-07-17)
Fixes
Fixed the issue of unread counts not reflecting correctly after a topic is hard deleted.
Fixed the issue of unread counts not being synchronized correctly after a user is removed or banned.
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
Exo Player: 2.18.1
Version 6.12.0 (2023-07-14)
New Features
Fixes
Fixed the incorrect result of message query by tags.
Fixed the incorrect result of message reaction query.
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
Exo Player: 2.18.1
Version 5.33.14 (2023-07-07)
Fixes
Applied the ability to retrieve an array of posts by IDs in version 5.33.14.
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
Exo Player - 2.18.1
Version 6.6.0-beta06 (2023-07-04)
Fixes
Fixed the issue where the unread count does not sync when two devices, both using the same account, are opened simultaneously.
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
Exo Player - 2.18.1
Version 6.6.0-beta05 (2023-06-29)
Fixes
This update fixes returning missing messages when specified includingTags as one of the query options.
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
Exo Player - 2.18.1
Version 6.6.0-beta04 (2023-06-21)
Version 6.11.0 (2023-06-29)
Fixes
Resolved an issue with incorrect sorting of child posts.
Fixed an issue with the image upload queue producing inaccurate results.
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
Exo Player: 2.18.1
Version 6.6.0-beta04 (2023-06-21)
New Features
Introduce a new feature which now supports unread count on multiple devices. When the user logs in to two devices with the same account and uses the chat feature simultaneously, the user should see the correct update of the unread count.
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
Exo Player - 2.18.1
Version 6.10.0 (2023-06-16)
Features
Introduced a new function that enables retrieval of posts by an array of IDs.
Implemented a new function to fetch comments using an array of IDs.
Fixes
Corrected the sorting of category queries to ensure accurate results.
Deprecations
Please note that this release also includes the deprecation of several APIs. For details, please refer to Android SDK v6.10.0 Deprecation Notefor more information.
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
Exo Player - 2.18.1
Version 5.33.13 (2023-06-15)
Fixes
Resolved an issue where the SDK occasionally sent duplicate URL images, resulting in black images.
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
Exo Player - 2.18.1
Version 6.9.0 (2023-06-01)
Features
Introduced a new feature which allows users to create custom post and get users by `userIds` inside `AmityUserRepository`.
Deprecations
Please note that this release also includes the deprecation of several APIs. For details, please refer to Android SDK v6.9.0 Deprecation Note for more information.
Android SDK version
minSDKVersion - 21
targetSDKVersion - 33