Channel settings > General > Manage Plug-in > Web plug-in Settings only affect the JavaScript SDK. To customize Channel button in the Android SDK, configure BootConfig or create a new view to show your Channel button.
The Channel Button is placed at the bottom right in the default BootConfig. If your app’s UI requires the button to be placed at a different position, call BootConfig#setChannelButtonOption(ChannelButtonOption). You can set the anchor of the button (left or right) on the screen and the margin from the anchor.
The customization of Android SDK, for example, changing an icon of the button, requires a custom view that shows a messenger when clicked.
If you are fully customizing the Channel Button, displaying the number of unread messages is strongly recommended to let users notice the new messages. The number of unread messages can be retrieved by ChannelPluginListener#onBadgeChanged(int, int).
If the manager replies to a conversation, a user gets notified by the SDK. The user will get an Channel’s in-app popup instead of the system push notification when the app is in the foreground. You can pass a BubbleOption to the BootConfig#setBubbleOption(BubbleOption) to set the position of the in-app popup.
If the customization provided by the SDK cannot meet your requirement, follow the steps below and create a new custom view to display the popup.
Disable the default popup implementation using
BootConfig.setHidePopup(boolean).
Display your custom popup view using data from
ChannelPluginListener#onPopupDataReceived(PopupData).
Use ChannelIO.track() to track an event. See what an event is for detail.
You can find the tracked events in the event section of the user chat description.