6 ms·
Via a PWA seems like the Notification API works with no 3rd party https://developer.mozilla.org/en-US/docs/Web/API/Notifications_API/Using_the_Notifications_API
by maxbaines 6y ago
Via a PWA seems like the Notification API works with no 3rd party https://developer.mozilla.org/en-US/docs/Web/API/Notifications_API/Using_the_Notifications_API https://developer.mozilla.org/en-US/docs/Web/API/Notificatio...
- gruez 6y agoAren't they stilled routed over FCM?
- maxbaines 6y agoNo, the Push API is a Web Standard https://www.w3.org/TR/push-api/ https://www.w3.org/TR/push-api/
- gruez 6y agoIt's a standard, but it still requires a push service, aka FCM. It's not like the web browser is listening on an open port and the server is connecting to it. eg. if you go to https://gauntface.github.io/simple-push-demo/ https://gauntface.github.io/simple-push-demo/, you can see that the endpoint is fcm.
- jlokier 6y agoThat's just an API, and doesn't say which push service will be used. FCM could be used potentially. However, the Push API refers to a recommended IETF protocol for providing the push service: https://tools.ietf.org/html/rfc8030 https://tools.ietf.org/html/rfc8030
- swiley 6y agoThis is for locally generated notifications only. Push messages are different, last time I checked Mozilla operates a free service to relay push notifications.
- maxbaines 6y agoI suppose the OP should comment, but I read that although local push was tried there was a wider view about using walled services. the Push API does solve that.