3 ms·
Doesn’t supporting web push notifications involve having worker processes running in the background all the time to poll or keep a socket open for updates? I co
by kitsunesoba 5y ago
Doesn’t supporting web push notifications involve having worker processes running in the background all the time to poll or keep a socket open for updates? I could see that dragging down battery life if one has notifications for more than just a small handful of PWAs enabled.
- rabuse 5y agoNative apps already do this...
- Nextgrid 5y agoDisagreed; they don't. They delegate messaging to the Apple Push Notification service which is a single process that maintains a persistent connection (and receives messages on behalf of apps). Apps only get woken up when a notification actually arrives.