- Issue created by @joshahubbers
- Merge request !103Issue #3481782 by joshahubbers: Firebase notifications → (Merged) created by joshahubbers
- 🇳🇱Netherlands joshahubbers
🐛 Upload app icon results in error Active is included in this patch
- 🇳🇱Netherlands joshahubbers
Back to working on this... please mind this is work in progress. F.e. in the current patch we show the token of the browser in the frontend to allow us to easily send test messages. ;-) Just so you know the current status.
- 🇳🇱Netherlands joshahubbers
I removed the module from this commit, as I think you mostly want to customize what exactly happens there, and not everything is generic enough.
I add the module as zip for reference.
Example module →So what this patch does:
- Add hook to expand the service worker
What it does not do (see how to do it in the example module):
- Add new submodule for the notifications (see zip file for an example)
- The firebase service worker has to come from a specific url: /firebase-messaging-sw.js. The url is altered with a route to serve the service worker from this location.
- When a user accepts the push messages, the token is saved to the database.
-
anybody →
committed e1c514c2 on 2.x authored by
joshahubbers →
Issue #3481782 by joshahubbers: Add hook to modify service worker (was:...
-
anybody →
committed e1c514c2 on 2.x authored by
joshahubbers →
- Status changed to Fixed
2 months ago 11:00am 4 February 2025 Automatically closed - issue fixed for 2 weeks with no activity.