Skip to main content

Overview

The siren-android-inbox SDK is a comprehensive and customizable Android UI kit for displaying and managing notifications. This documentation provides comprehensive information on how to install, configure, and use the SDK effectively.

Installation

Prerequisites

  • Android Studio Arctic Fox or later
  • Android SDK 21 or higher
  • Kotlin 1.5.0 or higher

Add JitPack Repository

Add the JitPack repository to your project-level build.gradle file:

Add Dependency

Add the SDK dependency to your app-level build.gradle file:

Configuration

Initialization

Initialize SirenSDK in your MainActivity by passing the context, token, recipientId, and error callback:

Configure Notification Icon

Add a notification icon with a badge showing unread count:

Notification Icon Parameters

Configure Notification Inbox

Display a paginated list of notifications:

Inbox Parameters

Customization

Theme Customization

Style Customization

Functions

Notification Management

Error Codes

Example