Set up mobile message inbox
Message Inbox (also called App Inbox, the “bell icon” screen inside your app) lets you keep the most important messages in your app by creating a dedicated section for such notifications. Messages can be delivered to the Inbox with a notification or without one. You can choose it in the settings.
Setting up the inbox in your app
Anchor link toiOS: see Setting up Pushwoosh InboxKit iOS for the current UIKit inbox screen (card layouts, inline CTA buttons, install via SPM or CocoaPods).
Android: see Setting up Pushwoosh Inbox UI Android for the pushwoosh-inbox-ui module (rich cards, inline CTA buttons, style customization).
Cordova: see Setting up Message Inbox for Cordova for presentInboxUI, style customization, and programmatic message management.
React Native: see Setting up Message Inbox for React Native for presentInboxUI, style customization, and programmatic message management.
Flutter: see Setting up Message Inbox for Flutter for the pushwoosh_inbox package, PWInboxStyle customization, and programmatic message management.
Xamarin: see Message inbox for Xamarin (deprecated, Xamarin itself reached end of support in 2024).
Unread messages badge
Anchor link toTo display the number of unread messages on a badge over an Inbox icon, please use the following API methods:
iOS
[PWInbox unreadMessagesCountWithCompletion:^(NSInteger count, NSError *error) { }];
Android
PushwooshInbox.unreadMessagesCount(result -> { });