Closed rotimi-best closed 4 years ago
All the Todo listed below has been done.
[ ] Implement above flow and save the subscription in the db
[ ] Save the user's email and other information on the server.
[ ] Listen for unsubscription in serviceWorker
This commit 56c9acd was what allowed me get a push notification both on mobile and desktop.
Findings
Push flow
userId
to the server.push
into the subscriptions array of the user.TODO