Web notifications with Polymer & Firebase
summary
Shows how Polymer + Firebase (Firebase Cloud Messaging via polymerfire) is used to register device tokens, store them in Firebase DB, and deliver push payloads handled in a service worker that displays notifications and routes clicks to the correct tab or opens a new one. Implements a pre-permission custom prompt that cuts blocking to 0% blocked and reports a measurable lift: notifications drive about 1.35× engagement. Code and flow are concrete and working.
AI-written summary · about
chapters (11)
- 0:00Introduction to web notifications
- 4:43Tools for web features
- 7:13Polymer and web components
- 8:59PolymerFire and Firebase
- 10:02Firebase messaging setup
- 11:30Service worker for notifications
- 14:45User permission for notifications
- 16:11Custom notification prompts
- 17:36Context in notifications
- 18:59User engagement impact
- 19:21Key takeaways and conclusion
