Notifications ᴺᴱᵂ

Overview

The Notifications feature in the Android SDK provides developers with a centralized mechanism for surfacing user interactions in real time. This documentation outlines how to integrate and use the feature to create a cohesive and engaging notification experience for Android app users.


SDK Version Compatibility

The Notifications feature is available starting from OpenWeb Android SDK version 2.1.0. Ensure your project is using this version or higher to enable notification capabilities. Refer to the SDK changelog for detailed release notes.


Floating Notification Bell Icon

The floating bell icon is a UI element designed to provide real-time visual feedback and entry to the notification feed.

Behavior

  • Scrolls along with the user while staying visible.
  • Appears only within OpenWeb-controlled views.
  • Triggered to appear once the first comment’s like/dislike row becomes visible.
  • Displays an unread count (up to 99+).
  • Automatically resets the counter when the feed is opened.
  • Updates in real-time via polling mechanism.

Notification Feed

The notification feed is a vertically scrollable list of the user’s most recent activity. It supports infinite scrolling and provides immediate context for each event.

Features

  • Lists the most recent notifications in descending order (newest first).
  • Supports infinite scroll by loading additional entries as the user scrolls.
  • Highlights unread items for visual clarity.
  • Pull-to-refresh functionality to manually sync.
  • Built-in loading indicator with shimmer effect.