plugin development, modify service-worker.js
-
Update: good news. I'm able to receive notifications. Now dealing with the basics which doesn't have anything to do with the wanted functionality (nodebb stuff.. sending the registration to the core, storing it in the database, triggering push notifications based on nodebb notifications)
Will post any updates here
-
The plugin is now being tested in production.
Chrome works as expected (push notifications should behave as forum notifications):
- Forum Icon is displayed in the notification
- Text containing the event that triggered the notification is displayed
- Clicking in the notification opens the browser at the specific path
Firefox notifications only work on nightly versions.
-
Copyright © 2024 NodeBB | Contributors