Push Notification Dispatcher
Component Detail
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.
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
Related Data Entities (2)
Data entities managed by this component
Used Integrations (1)
External integrations and APIs this component relies on