Channel Developers

  • Add our Maven repository to the root build.gradle:

    Groovy
  • ChannelIO.openSupportBot() is removed.

    • Replace all usages of openSupportBot() to openWorkflow().

  • 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

  • PushEvent is deprecated. Use PopupData

  • User's package name is changed. Use com.zoyi.channel.plugin.android.open.model

Migration v7 from post v7

  • ChannelPluginSettings.setUserId changes to ChannelPluginSettings.setMemberId

  • onClickRedirectUrl removed in ChannelPluginListener

  • CHLocale.DEVICE is removed. If you want to set device langauge, set to null