You have the option to adjust the position of the Channel button via the ChannelButtonOption. After making changes to this option, apply it to the property value of BootConfig. For example:
To change the appearance of the Channel button, create a custom view and follow the instructions below:
Make sure to hide the default Channel button by calling
ChannelIO.hideChannelButton.Once you've created your button and positioned it as desired, link the
ChannelIO.showMessengerto the button's touch event.
We recommend using onBadgeChanged to display the number of unread messages. If you choose to customize the Channel button, the number of unread messages will not be visible by default.
By default, the SDK delivers the following in-app pop-up notifications to your app, which is applicable when the user uses the app online.
Utilize onPopupDataReceived to receive popup data. Refer PopupData for more details.
To modify the appearance of an in-app popup, you need to create a custom view.
Make sure the default in-app push view remains hidden by settings
BootConfig#hidePopupto true.Perform a new
bootusing the aboveBootConfig.Use
onPopupDataReceivedto display thecustomViewon the desired screen at the appropriate time.
To track the user actions, use the track method. For instance, the following code snippet tracks when a user checks out from your service.