Infrastructure medium complexity Shared Component backend
0
Dependencies
1
Dependents
2
Entities
1
Integrations

Description

Thin infrastructure wrapper around the FCM/APNs push delivery layer. Accepts a normalised notification payload and device token from the trigger engine, then forwards to the appropriate push service. Shared across all notification features.

Feature: Scenario-Based Engagement Push Notifications

push-notification-dispatcher

Responsibilities

  • Accept normalised notification payload and target device token
  • Route to FCM for Android or APNs for iOS
  • Handle delivery errors and retry transient failures
  • Record delivery status for audit purposes

Interfaces

dispatch(deviceToken, title, body, data)
dispatchBatch(notifications)
getDeliveryStatus(notificationId)
registerDeviceToken(userId, token, platform)

Relationships

Dependents (1)

Components that depend on this component

Related Data Entities (2)

Data entities managed by this component

Used Integrations (1)

External integrations and APIs this component relies on

API Contract

View full contract →
REST /api/v1/notifications 8 endpoints
GET /api/v1/notifications
GET /api/v1/notifications/:id
POST /api/v1/notifications
PUT /api/v1/notifications/:id
DELETE /api/v1/notifications/:id
POST /api/v1/notifications/batch
+2 more