How to push data from server application to a manifest v3 browser extension in Edge?

Andrew Shevchuk 1 Reputation point
2022-08-29T14:47:12.663+00:00

We maintain a few browser extensions which currently rely on long-running connections to our cloud services to receive real-time data. In manifest v3 extensions, long-running connections no longer work because the service worker can be shut down regularly by the browser. As an alternative, is there some way that our cloud service could push data or notifications to the extension, such that the service worker will be activated (if necessary) to handle it?

We've tried looking at the Web Push API, but it doesn't seem to be available from within an extension service worker.

Microsoft Edge | Microsoft Edge development
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.