Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invitations : Être notifi-é-e des changements d'un événement #17

Open
Palingenae opened this issue Sep 11, 2023 · 0 comments
Open

Comments

@Palingenae
Copy link
Collaborator

Palingenae commented Sep 11, 2023

User Story

As an authenthicated User who is a guest to an event,
I want to be able to receive notifations when an event is updated

Dependencies

Technical Tasks:

-FCM Integration: Integrate Firebase Cloud Messaging into the application for push notifications if it's not already set up.

  • Backend Trigger for Event Update: Implement a trigger on the backend to detect when an event has been updated. This can be part of the existing event update logic.
  • Notification Payload: Define the payload for the notification, which should include all necessary details about the event update.
  • Notification Sending: Once an event is updated, use FCM to send a push notification to all guests of the event.
  • Database Schema Update: Ensure the database schema supports tracking which users should receive notifications for which events.
  • Authentication and Authorization: Ensure that only authenticated users who are guests for the specific event will receive notifications.
  • Error Handling: Implement error handling to manage any issues that may arise during the notification process, such as failures in sending notifications through FCM.

Acceptance Criteria:

  • FCM Integration: Firebase Cloud Messaging should be integrated correctly into the application for push notifications.
  • Notification Receipt: Authenticated users who are guests of an updated event should receive a push notification about the update.
  • Notification Content: The push notification should provide sufficient details about what aspect of the event was updated (e.g., time, location, etc.).
  • Authentication and Authorization: Only authenticated users who are guests for the specific event should receive the update notifications.
  • Error Handling and Feedback: Any errors in the process of sending notifications, like FCM failures, should be logged for future debugging. The application should handle these errors gracefully.
  • Timeliness: Notifications should be received promptly after an event is updated.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants