The Sceyt Chat Android UIKit ships sensible defaults for push notification appearance, but every aspect of how notifications look and behave is open for customization. Title and body text are controlled through the formatter system onDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/sceyt/sceyt-chat-android-uikit/llms.txt
Use this file to discover all available pages before exploring further.
SceytChatUIKit.formatters, while channel configuration, icon selection, and display logic are managed through SceytChatUIKit.notifications.
The SceytNotifications Object
SceytChatUIKit.notifications is a SceytNotifications instance that acts as a central registry for notification components. It exposes two top-level properties:
| Property | Type | Purpose |
|---|---|---|
pushNotification | PushNotification | Handles incoming chat push notifications |
fileTransferServiceNotification | FileTransferServiceNotification | Manages the foreground service notification shown during attachment uploads |
Customizing Notification Text
Notification titles and bodies are produced byFormatter<PushData> instances registered on SceytChatUIKit.formatters. Override either formatter by assigning a new Formatter<PushData> implementation:
SceytChatUIKit.formatters.notificationTitleFormatter— returns the notification title. By default it uses the channel subject for groups, or the sender’s formatted name for direct messages.SceytChatUIKit.formatters.notificationBodyFormatter— returns the notification body. By default it includes attachment emoji icons and formats mention spans.
Example: Custom notification title
Both formatters receive a
PushData object, which carries the channel, user, message, reaction, and type (either NotificationType.ChannelMessage or NotificationType.MessageReaction).Configuring Push Notifications
SceytChatUIKit.notifications.pushNotification is a PushNotification instance with three replaceable components:
notificationHandler — PushNotificationHandler
notificationHandler — PushNotificationHandler
Controls when and how notifications are displayed, cancelled, and what happens when the user taps notification actions such as Reply or Mark as Read. Extend
DefaultPushNotificationHandler to override only the callbacks you need.notificationChannelProvider — NotificationChannelProvider
notificationChannelProvider — NotificationChannelProvider
Responsible for creating the
NotificationChannel on Android O (API 26) and above. Override to set a custom channel name, description, importance level, sound, or vibration pattern.notificationBuilder — PushNotificationBuilder
notificationBuilder — PushNotificationBuilder
A
NotificationBuilder<PushData> that constructs the final Notification object. Override individual methods to change the small icon, large avatar icon, pending intent, or apply a custom NotificationCompat.Style.Replacing the Small Icon
The quickest way to change the notification icon is to subclassDefaultPushNotificationBuilder and override provideNotificationSmallIcon:
File Transfer Service Notification
When the user sends an attachment, the UIKit runs a foreground service to ensure reliable upload. A persistent notification is shown while the transfer is in progress. You can customise it throughSceytChatUIKit.notifications.fileTransferServiceNotification, which exposes the same three-component pattern (notificationHandler, notificationChannelProvider, notificationBuilder) as the push notification configuration.