Push Notifications
The Push Notifications module enables mobile push notification delivery.
Features
- FCM Support - Firebase Cloud Messaging
- User Targeting - Send to specific users
- Topic Subscriptions - Group notifications
- Silent Pushes - Background data sync
Supported Providers
| Provider | Status |
|---|---|
| Firebase Cloud Messaging (FCM) | Supported |
| OneSignal | Coming Soon |
Dependencies
| Module | Required | Purpose |
|---|---|---|
| Authentication | Yes | User targeting |
Minimum Configuration
Requires FCM configuration. Disabled by default.
Environment Variables
| Name | Required | Description | Example |
|---|---|---|---|
CONDUIT_SERVER | Yes | Conduit Core address | 0.0.0.0:55152 |
SERVICE_URL | No | Service address | 0.0.0.0:56154 |
GRPC_PORT | No | gRPC server port | 56154 |
GRPC_KEY | No | gRPC signed request protection | someSecret |
Quick Start
- Configure FCM in Admin Panel
- Register device tokens from mobile app
- Send notifications via API
curl -X POST 'http://localhost:3030/pushNotifications/send' \
-H 'masterkey: YOUR_MASTER_KEY' \
-H 'Content-Type: application/json' \
-d '{
"userId": "...",
"title": "Hello",
"body": "You have a new message"
}'
Next Steps
- Configuration - Set up FCM
- API Reference - Available endpoints