web-push-php-example icon indicating copy to clipboard operation
web-push-php-example copied to clipboard

No notification receive

Open victory7 opened this issue 5 years ago • 12 comments

I get in response "Message sent successfully for subscription" but I don't get any message! I create my own VAPID but still, nothing changed. What's going wrong in this?

victory7 avatar Apr 01 '19 17:04 victory7

is it still there?

nomanaadma avatar Oct 27 '19 12:10 nomanaadma

I've enabled Push Notifications, but after pressing 'Send a Push Notification' nothing happens. Everything remains silent, nothing on page or on console.

deepakpalnitie avatar Jan 09 '20 11:01 deepakpalnitie

I dont' know why but in localhost everything works well; I've loaded all folders in cloud and nothing happen ... Has someone a idea please?

miok73 avatar Jun 22 '20 11:06 miok73

This is not a solution for everyone, but make sure to turn on notifications for chrome from your device settings (Windows, Mac, etc)

levizwannah avatar May 28 '21 07:05 levizwannah

same here

Tarek-Adra avatar May 29 '21 12:05 Tarek-Adra

This is not a solution for everyone, but make sure to turn on notifications for chrome from your device settings (Windows, Mac, etc)

At first I was getting an error 500 when clicking send a push notification but running composer update fixed this, but still no notification. The fix for that was as above, under 'Notifications & actions' on Windows 10. Thanks @levizwannah

robinmalik avatar Aug 25 '21 11:08 robinmalik

For me it was windows blocking it, I was enabling "Focus assist" and set to "priority only" after turn it off it's working perfectly :)

Tarek-Adra avatar Aug 25 '21 11:08 Tarek-Adra

I am also not getting any notifications. Just the request is 200 success and says subscription is successful. image

sahilmore-git avatar Sep 01 '21 19:09 sahilmore-git

Any solutions?? @Tarek-Adra @robinmalik @levizwannah @miok73 @deepakpalnitie @nomanaadma @victory7

sahilmore-git avatar Sep 01 '21 19:09 sahilmore-git

@sahilmore-git It looks like you are using a firefox browser make sure to enable notification from the topbar according to the new firefox policy and is it sending notifications in chrome?

nomanaadma avatar Sep 01 '21 20:09 nomanaadma

@nomanaadma Yes I have enabled notifications in firefox and it is also not working in chrome :(

sahilmore-git avatar Sep 03 '21 17:09 sahilmore-git

I dont' know why but in localhost everything works well; I've loaded all folders in cloud and nothing happen ... Has someone a idea please?

Works perfectly in chrome and the second I move to production it fails me, do we need unique VAPID stuff? Like are they attached to our first used domain?

xitude avatar Dec 11 '23 05:12 xitude