extend notification docs
LocationBasedServices/sumoc-backend/pipeline/head This commit looks good

This commit is contained in:
2026-02-09 10:32:32 +01:00
parent 80abd0f34f
commit 856f530f99
@@ -37,6 +37,19 @@ Each notification type includes a data payload. The main DTOs in the notificatio
To receive push notifications, clients must register their device token. Token registration is handled in the
`NotificationController`. The backend stores or updates the token for the authenticated user.
### Notification Providers
When registering a device token, clients must specify the notification provider. The supported providers are defined in
`NotificationProvider.java`:
- **FIREBASE**: Use this provider for Android devices. Tokens registered with this type will be used to send
notifications via Firebase Cloud Messaging (FCM) for Android.
- **FIREBASE_IOS**: Use this provider for iOS devices. Tokens registered with this type will be used to send
notifications via Firebase Cloud Messaging (FCM) for iOS.
Specify the appropriate provider when registering the device token to ensure notifications are delivered correctly to
the device platform.
---
## For Backend Developers