JM Lambert addeectiveunread,
Feb 28, 2022, 3:19:38 AMFeb 28
to Chromium Extensions, bazz...@gmail.com, Chromium Extensions, Fernando Velasco, Mohamed Mansour, Zenitsu, guest...@gmail.com, hrg...@gmail.com, jo...@getstation.com, p.by...@gmail.com, pde...@gmail.com, vinn...@gmail.com, wOxxOm, Craig Lurey
I believe you can maintain the wake-up state of the background service worker by listening to the Google Cloud Messaging system. I'm also aware this is painful - given the limitations of the chrome.gcm API - from server side, since you need to maintain a knowledge of all extensions instances running in the wild and organize batch of notifications to be sent on a periodic fashion. But it does not seem more complex than handling socket connections doesn't it ?