Skip to content

News Feed

Learn about News Feed for the Braze Android SDK, including card types, card properties, and optional configurations.

Prerequisites

Before you can use News Feed, you’ll need to integrate the Braze Android SDK. However, no additional setup is required.

Google fragments

In Android, the Content Cards feed is implemented as a fragment available in the Braze Android UI project. The BrazeFeedFragment class will automatically refresh and display the contents of the News Feed and log usage analytics. The cards that can appear in a user’s News Feed are set on the Braze dashboard.

To learn how to add a fragment to an activity, see Google’s fragments documentation.

Card types and properties

Braze has five unique card types: banner image, captioned image, text announcement, and short news. Each type inherits common properties from a base model and has the following additional properties.

Base card model

The base card model provides foundational behavior for all cards.

Banner image cards are clickable full-sized images.

Captioned image

Captioned image cards are clickable full-sized images with accompanying descriptive text.

Text announcement

Text announcement cards are clickable cards containing descriptive text and no image.

Short news

Short news cards are clickable cards with images and accompanying descriptive text.

Optional configurations

Tracking session analytics

The Android UI fragments do not automatically track session analytics. To ensure that sessions are tracked correctly, call IBraze.openSession() when your app is opened.

Linking from in-app messages

Linking to the News Feed from an in-app message must be enabled by registering the BrazeFeedActivity within your AndroidManifest.xml.

Next steps

If you’re ready to create your own News Feed, see Creating a custom News Feed.

HOW HELPFUL WAS THIS PAGE?
New Stuff!