Showing the Feed

One of the core parts of the Pulsate SDK is the Pulsate Feed. The Feed is a fully featured interface that sits directly within your mobile App, it allows incoming campaign to be rendered to your customers.

In order to show the Feed / Inbox you need to get the Feed Navigation Controller and present it

let manager = PULPulsateFactory.getDefaultInstance()
let controller = manager.getFeedNavigationController(completion: {})
// Present the controller

The Feed has a completion callback that informs you when the user exits the Feed, if you need any custom logic to run after exiting the Feed this is where to place it. This is also a good place to update the badge count and display the badge counter in your app.

The Feed can be closed by tapping on the Back Button.

The list of messages are fetched from the Pulsate server and cached locally for offline reading. Pulsate also offers campaign distribution to allow you to send custom campaigns via the message inbox.

❗️

Feed Orientation

We've designed the Pulsate Feed in Portrait mode in mind. It's highly recommended to use it in Portrait mode exclusively. Using landscape mode is possible, but not recommended for best UX experience.