2 ms·
SSE generally requires the page to be active in the foreground, which is not a viable solution for mobile. Web Push is a distinct API for browsers to emulate n
by jallmann 3y ago
SSE generally requires the page to be active in the foreground, which is not a viable solution for mobile.
Web Push is a distinct API for browsers to emulate native push notifications via service workers. https://developer.mozilla.org/en-US/docs/Web/API/Push_API https://developer.mozilla.org/en-US/docs/Web/API/Push_API
- cbsmith 3y agoI thought it was more that the Document object had to stay alive. ...although, these days a lot of mobile browsers will kill that thing off if the page is not in the background, so yeah...