Add our Maven repository to the root build.gradle:
GroovyChannelIO.openSupportBot()is removed.Replace all usages of
openSupportBot()toopenWorkflow().
onBadgeChanged(count:) is deprecated. Use onBadgeChanged(unread, alert) instead. Badge is separated into
unreadandalertfield.
setUnsubscribed is removed. use setUnsubscribeEmail (email), setUnsubscribeTexting (sms, lms)
onProfileChanged is removed.
UserData's setUnsubscribed is removed. use setUnsubscribeEmail (email), setUnsubscribeTexting (sms, lms)
Should add proguard rules. See Installation.
Change repository from jcenter to mavenCentral See more about jcenter closing
Change group name "com.zoyi.channel" to "io.channel" (implementation 'io.channel:plugin-android:8.4.0')
boot use BootConfig except ChannelPluginSettings + Profile
boot use BootCallback except OnBootListener
show, hide is deprecated. Use showChannelButton, hideChannelButton
open, close is deprecated. Use showMessenger, hideMessenger
openChat with animate is deprecated.
canShowLauncher is deprecated.
setChannelPluginListener is deprecated. Use setListener
handlePushNotification is deprecated. Use openStoredPushNotification
showPushNotification is deprecated. Use receivePushNotification
updateProfile is depreacted. Use updateUser
locale is deprecated. Use language
enabledTrackDefaultEvent is deprecated. Use trackDefaultEvent
hideDefaultInAppPush is deprecated. Use hidePopup
LauncherConfig is deprecated. Use ChannelButtonOption
OnBootListener is deprecated. Use BootCallback
PushEvent is deprecated. Use PopupData
User's package name is changed. Use com.zoyi.channel.plugin.android.open.model
ChannelPluginSettings.setUserId changes to ChannelPluginSettings.setMemberId
onClickRedirectUrl removed in ChannelPluginListener
CHLocale.DEVICE is removed. If you want to set device langauge, set to null