Skip to main content

Overview

The @sirenapp/react-native-inbox SDK is a comprehensive and customizable React Native UI kit for displaying and managing notifications. This documentation provides comprehensive information on how to install, configure, and use the SDK effectively.

Installation

Configuration

Initialization

Initialize the SDK with the user token and recipient ID. Wrap the provider around your App’s root.

Configure Notification Icon

This component consists of a notification icon along with a badge to display the number of unviewed notifications.

Icon Props

Customization

Theme Customization
Style Customization

Configure Notification Inbox

Inbox is a paginated list view for displaying notifications.

Inbox Props

Customization

Theme Customization
Style Customization

CardProps

HeaderProps

Hooks

useSiren

useSiren is a hook that provides utility functions for modifying notifications.

useSiren Functions

Complete Example