Minishlink / web-push-php-example

An example for sending Web Push notifications, using web-push-php
MIT License
252 stars 89 forks source link

No notification receive #20

Open victory7 opened 5 years ago

victory7 commented 5 years ago

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?

nomanaadma commented 4 years ago

is it still there?

deepakpalnitie commented 4 years ago

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

miok73 commented 4 years ago

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?

levizwannah commented 3 years ago

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

Tarek-Adra commented 3 years ago

same here

robinmalik commented 3 years ago

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

Tarek-Adra commented 3 years ago

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 :)

sahilmore-git commented 3 years ago

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

sahilmore-git commented 3 years ago

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

nomanaadma commented 3 years ago

@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?

sahilmore-git commented 3 years ago

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

xitude commented 9 months ago

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?