Showing the Feed

The Pulsate Inbox is a full message center embedded in your app. It renders campaign feed posts. Since SDK 4.7.0 the Feed is a Web Feed — its content and theme are served by Pulsate, so visual updates don't require app releases.

Opening the Inbox

showFeed launches the Inbox in its own Activity:

val pulsateManager = PulsateFactory.getInstance()
pulsateManager.showFeed(null)

Pass a listener to know when the user leaves the Feed — a good moment to refresh your unread badge:

pulsateManager.showFeed(object : IPulsateFeedListener {
    override fun onFeedClose() {
        refreshUnreadBadge() // see Badges
    }
})

The user closes the Feed with the back button.

Restricting access

If your app has a login, you can block the Inbox for unauthenticated users — see Feed Authorization.

Related