Skip to content

feat: implement FCM push notification service #367#497

Merged
LaGodxy merged 1 commit into
MettaChain:mainfrom
midexol:feat/push-notifications
Apr 29, 2026
Merged

feat: implement FCM push notification service #367#497
LaGodxy merged 1 commit into
MettaChain:mainfrom
midexol:feat/push-notifications

Conversation

@midexol
Copy link
Copy Markdown
Contributor

@midexol midexol commented Apr 28, 2026

Summary

This PR implements the infrastructure for Push Notifications via Firebase Cloud Messaging (FCM).

Changes

  • Schema Update: Added fcmToken field to the User model in prisma/schema.prisma to store device registration tokens.
  • Service Integration: Updated NotificationsService to include logic for fetching user device tokens and triggering FCM push delivery alongside real-time gateway notifications.
  • Mock Testing: Verified the service logic for triggering FCM logs when a token is present.

Closes #367

@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented Apr 28, 2026

@midexol Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@LaGodxy LaGodxy merged commit 1dab8b8 into MettaChain:main Apr 29, 2026
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement Push Notifications

2 participants