There are two types of push notifications supported.
Browsers that support Navigator.permissions
and are supported by Firebase Messaging.
A few minutes before a sessions starts, attendees can get reminder notifications. These are sent automatically by schedule-notifications.ts
.
To get a notification an attendee has to:
- Be authenticated
- Have enabled "My Schedule notifications"
- Have bookmarked the session that is about to start
General notifications are sent to everyone (authenticated and anonymous) who has enabled "General notifications". These are sent manually by conference organizers.
To send a "General notification":
- Got to the project's Firestore page
- "Start collection" with the ID
notifications
- On the document creation page enter the following three fields
title
:Announcing GDG DevFest Ukraine 2017
body
:It is official. GDG DevFest Ukraine 2017 is going to take place in Lviv, on October 13-14.
path
:/blog/dfua17-announced
- Save