Default App Inbox
Prerequisites
- SDK integration completed
enableAppInbox
config set totrue
during SDK initialization.
This is the easiest way to add App Inbox functionality to your mobile app. In this setup app will be using the default notification center activity provided by the SDK for displaying inbox messages and managing them. You can also customize the appearance of the notification center activity to match your app theme.
Displaying App Inbox Contents
You can lauch notification center activity to display App Inbox messages. Following code snippet can be used whenever you want to show inbox messages to the app user.
Acitivity appearance can be customized using styleConfig
. More details below.
Customising App Inbox Display
Retrieving Unread Message Count
The SDK offers method to obtain the count of unread messages, suitable for display purposes. One use case is to show the unread message count as a badge on notification bell icon to prompt user to check on pending inbox items.