Replies: 3 comments 1 reply
-
|
Hey @erkie, we are looking into this and will let you know as soon as we have an update. |
Beta Was this translation helpful? Give feedback.
-
|
@ManikanthMSFT any news? |
Beta Was this translation helpful? Give feedback.
-
|
Hello @erkie , Currently, Microsoft Edge does not support the userVisibleOnly: false option for push subscriptions. This means that silent/background push notifications (without showing a notification to the user) are not supported in Edge, and attempting to use this option may result in a permission error. As a supported approach, we recommend using userVisibleOnly: true and ensuring that each push event results in a visible notification to the user. This aligns with Edge’s implementation of the Push API, which requires user-visible notifications for push messages. At present, there is no confirmed timeline for supporting userVisibleOnly: false in Edge. We recommend designing your implementation accordingly to ensure compatibility. For more details, reference document: https://learn.microsoft.com/en-us/microsoft-edge/progressive-web-apps/how-to/push |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Since MV3 breaks the possibility to have sockets open for realtime notifications in our extension, Chrome added support for the
userVisibleOnly: falseoption onregistration.pushManager.subscribe. Apparently Edge does not support this.What is the recommended workaround for realtime push for Edge, and why is it different from Chrome?
Results in:
This code works in Chrome.
Beta Was this translation helpful? Give feedback.
All reactions