Android SDK v5.0.0 Migration Guide

This guide is to provide information about breaking changes and how to migrate to the AmitySDK Android 5.0.0 version.

AmitySDK 5.0.0 is the major release of our SDK. As a major release, following Semantic Versioning conventions, 5.0.0 introduces API-breaking changes. This guide covers all the breaking changes and has been created to ease the transition from older SDK version (i.e SDK below 5.0.0) to AmitySDK 5.0.0.‌

Modules

eko-sdk module has been renamed to amity-sdk So, in your build.gradle

implementation 'com.github.EkoCommunications.EkoMessagingSDKAndroid:eko-sdk:x.y.z'

needs to be changed to

implementation 'com.github.EkoCommunications.EkoMessagingSDKAndroid:amity-sdk:x.y.z'

All the public classes & interfaces which uses Eko prefix has been changed to use Amity prefix. For Example, EkoChannel has been changed to AmityChannel.‌

For video publisher, you also need to change your dependency from

implementation 'com.github.EkoCommunications.EkoMessagingSDKAndroid:eko-video-publisher:x.y.z'

‌needs to be changed to

implementation 'com.github.EkoCommunications.EkoMessagingSDKAndroid:amity-video-publisher:x.y.z'

Last updated