Skip to main content
App Notifications are persistent, database-backed records delivered to users when activity happens in your app — new comments, replies, mentions, reactions, follows, connection requests, and more. They are distinct from push notifications; they live in the Sublay database and are surfaced through the SDK.
Requires the notifications bundle. App notifications are only available when the notifications bundle is installed on your project. See Bundles to add it.

How It Works

Sublay automatically creates notification records when relevant events occur (e.g., someone comments on an entity, someone follows a user). Your app polls or fetches those records and displays them in a notification feed. When push delivery is also needed, a webhook fires at the same time so your backend can forward the event to FCM or APNs.

In This Section

Hook

How to use useAppNotifications — fetch notifications, unread count, and mark as read

Notification Templates

Customize the display text for each notification type

Webhook Integration

Forward notifications to push services via webhook

Hooks

useAppNotifications

Full API reference for useAppNotifications

Notification Types

Sublay generates notifications for the following events: