@radzor/push-notification
Send push notifications via Firebase Cloud Messaging (FCM) or Apple Push Notification service (APNs).
Messagingv0.1.0typescriptpythonServerpushnotificationfcmapnsmobilemessagingby Radzor
Install
View source on GitHub →$npx radzor@latest add push-notification
⚠ Constraints: Requires FCM server key or APNs credentials. FCM uses HTTP v1 API. APNs requires a .p8 private key file. Device tokens must be collected from client apps.
Inputs
| Name | Type | Default | Description |
|---|---|---|---|
| provider* | 'fcm' | 'apns' | — | Push provider to use. |
| fcmServerKey | string | — | FCM server key from Firebase console. Required for FCM provider.FCM_SERVER_KEY |
| apnsKeyId | string | — | APNs key ID. Required for APNs provider. |
| apnsTeamId | string | — | Apple Developer Team ID. Required for APNs provider. |
| apnsPrivateKey | string | — | APNs private key PEM string. Required for APNs provider. |
provider*'fcm' | 'apns'