Android
This page contains an overview of all relevant changes made to the Android SDK and the latest version releases
- Fixed issue where duplicate image files were appearing in the device memory when uploading an avatar image.
- minSDKVersion - 21
- targetSDKVersion - 33
- 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
- Fixed issue to prevent crashes during code obfuscation under specific conditions.
- minSDKVersion - 21
- targetSDKVersion - 33
- 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
- Fixed issue with community query filter by
category id.
- Improved session component.
AmityComment.getData().edit()
is deprecated. Please useAmityComment.edit()
instead.
- minSDKVersion - 21
- targetSDKVersion - 33
- 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
- Upgraded ExoPlayer to version 2.18.1
- Upgraded OkHttp to version 4.9.2
- minSDKVersion - 21
- targetSDKVersion - 33
- 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
- Improved the session state functionality.
- minSDKVersion - 21
- targetSDKVersion - 33
- 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
- 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.
- minSDKVersion - 21
- targetSDKVersion - 33
- 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
- Fixed issue where the live object is unable to retrieve data from the backend.
- minSDKVersion - 21
- targetSDKVersion - 33
- 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
- Enhanced LiveCollections for community members. Newly added community members are now automatically included in the collection.
- minSDKVersion - 21
- targetSDKVersion - 33
- 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
- Updated Exo Player to version 2.18.1
- minSDKVersion - 21
- targetSDKVersion - 33
- 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
- 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.
- minSDKVersion - 21
- targetSDKVersion - 33
- 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
- Fixed issue where Real time events were not working on social module.
- minSDKVersion - 21
- targetSDKVersion - 33
- 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
- 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.
- minSDKVersion - 21
- targetSDKVersion - 33
- 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
- Introduced new login API
AmityCoreClient {
public func login(userId: String,sessionHandler: SessionHandler?): UserRegistration.Builder
}
- Added
issuedAt
,expiresAt
API toAmityCoreClient
- Added
observeSessionState()
API toAmityCoreClient
- Deprecated
AmityCoreCllient.login(userId: String)
. Please useAmityCoreClient.login(userId: String, sessionHandler: SessionHandler)
instead. - Deprecated
getConnectionState()
API.
- minSDKVersion - 21
- targetSDKVersion - 33
- 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
- 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.
- minSDKVersion - 21
- targetSDKVersion - 33
- 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
- Upgraded the post review feature. When a moderator role is demoted to a user role, post creation must be approved by a moderator.
- Fixed issue where a deleted stream still appears in the list of recommended livestreams.
- minSDKVersion - 21
- targetSDKVersion - 33
- 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
- Fixed issue where an incorrect result was displayed when a member was queried as
PagedList
.
- minSDKVersion - 21
- targetSDKVersion - 33
- 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
- Fixed issue where the group profile picture was not displayed correctly.
- Fixed issue where the community admin could not view the post review.
- minSDKVersion - 21
- targetSDKVersion - 33
- 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
- When creating a poll post, the
closedIn
value is set to 30 days by default if the user does not set any value.
- 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.
- Deprecated
CreateAuthToken()
. Please useCreateUserToken()
in AmityUserTokenManager instead. - Deprecated
query()
. Please usegetPagingData()
in AmityStreamQuery instead.
- minSDKVersion - 21
- targetSDKVersion - 33
- 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
- Fixed issue where avatar of the community is not visible on the Recommended and Trending pages.
- 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
- 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.
- 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
- 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.
- Fixed issue where error message was not displayed while uploading a video with unsupported file type
- 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
- 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 inAmityFileRepository
to specify the content type of the video.
- Deprecated
AmityFileRepository.uploadVideo(uri: Uri)
. Please useAmityFileRepository.uploadVideo(uri: Uri, feedType: AmityContentFeedType)
instead. - Deprecated
AmityPost.Data.VIDEO.getAvailableQualities(
). Please useAmityPost.Data.VIDEO.getAvailableResolutions()
instead.
- 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
- 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.
- Fixed issue where an error occurs while unfollowing an user
- 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
- Enhanced LiveCollections for users and community post. Newly added comments are now automatically added into the collection.
- Support
PagingData
while fetching query community member.
- 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
- Enhanced LiveCollections for user and community posts! Newly created posts are now automatically added into the collection.
- Introduced real-time event for channel deletion.
- Fixed issue where connection state was constantly being updated, even when the state did not have any changes.
- 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
- Introduced ability to manage community post settings via SDK (i.e. 'Only Admins Can Post' or 'Approve Member Posts')
- Fixed issue where users who weren't logged in were receiving push notifications.
- 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
- Support
PagingData
while fetching community list inCommunityRepository
- 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
- SDK Upgrade
- 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