Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Ad Support (React Native)

Show or hide the ad badge on the video feed item

<VideoFeed
  style={{ height: 200 }}
  source="discover"
  videoFeedConfiguration={{
    // Indicates if the video feed item shows the ad badge.
    showAdBadge: true, // or false
  }}
/>

Customize ad badge styles

FireworkSDK.getInstance().setAdBadgeConfiguration({
  badgeTextType: 'ad',
  backgroundColor: '#ff0000',
  textColor: '#000000',
});

Last updated

Was this helpful?