Trying to create web-push notification by this guide https://vaadin.com/docs/latest/flow/configuration/webpush#set-up-web-push
Into Jmix application I’ve been created WebPushService and executing notifyAll (after I’ve been subscribed and notifications are allowed in web browser)
The method notifyAll calls webPush.sendNotification, and seems like it works fine, (I’ve debugged it and statusCode == 201), but nothing is shown in web browser or any place (there are no web-push notification).
You may try to do the following (in order) and retry subscribing and sending:
Unsubscribe from push notifications via Java API or directly by navigator.serviceWorker.getRegistration().pushManager.getSubscription().unsubscribe()
Delete a site from notifications (Chrome->Settings->Notifications)
Unregister service worker in Chrome->F12->Application->Service Workers.
Also you may try change the value of “subject” application property to something else.
During development I’ve experienced a glitch somewhere when I also had no notifications shown. Not sure though was it something broken in Vaadin integration, but likely in the other part of the notification chain as just a clean up described above helped me.
Also, just for testing, you can try other browser. But should work with Chrome.