I am developing a site which is sending web push notifications and have so far tested this successfully with Chrome. I am currently testing in other browsers including Microsoft Edge but I have run into some problems. Any push notification I try to send only gets displayed with the text "This site was updated in the background". To isolate the problem I have managed to reproduce it using one of Googles own examples:
https://developers.google.com/web/fundamentals/codelabs/push-notifications
Step-by-step:
- Setup the example as described in the text (including using the correct public key from the companion site)
- Make the resulting site available to your Android phone, e.g. by using ngrok
- Visit the site on using Edge on your phone, enable notifications and copy the subscription info.
- Use the subscription info to send a message from the companion site.
Expected Result: A notification should appear with the data sent in the companion site.
Actual result: If site is in foreground, no notification appears If site is in background, a notification appears with the text "This site was updated in the background"
Does anyone know if this is supposed to work on the mobile Edge browser and what could be the problem?

event.datahappens to be null, in chrome and firefox for android it works for me - Riesling