Add sendNotification flag to event to keep track if a notification has been send out for an event
Add cloud function schedular that runs every 5 mins and queries all event that need notification to be send (event starting within one hour and notification has not been sent yet)
Notification sent based on event:
1) if club wide sent to all user
2) if event is assoicate to a committee sent it to every user in that committee
3) every user that has marked their interest for the given event type will be sent a notiifcation
Overview
Add sendNotification flag to event to keep track if a notification has been send out for an event
Add cloud function schedular that runs every 5 mins and queries all event that need notification to be send (event starting within one hour and notification has not been sent yet)
Notification sent based on event: 1) if club wide sent to all user 2) if event is assoicate to a committee sent it to every user in that committee 3) every user that has marked their interest for the given event type will be sent a notiifcation
118