question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Service workers Push event is not triggering

See original GitHub issue

I have used the same API and procedure to sent notification , I am able to send notification successfully with response code 200, but still push event is not happening on receiving notification.

{ auth:"hcQQq+1FeDuSu7V0zd5DXA==" endpoint:"https://fcm.googleapis.com/fcm/send/ cXgp0l3svNo:APA91bG8dDfZhrc0iaSyzvuV1BvnxXz9T- SmLCKOymKrEdwvrh0_SjzjnU3ORRKvW5QD- Zp196T5nAGPayR7EKu_Bkb0pQrSex7Q3DZSu54Lo83AEiUE6p-2Xn-nrquCymKVFt6Z4nY8" key:"BJv2qC3WSCsRszMi57vOBpFjnIpdJ/ uXQQFj4d0XZD9lRuZKuBgJNVFra0SFEvRlQQ88eG8RWWs7sSvO9Pbdkwk=" } above given is my endpoint in which i am sending notification.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
fima-tafcommented, Jul 10, 2019

My problem was that i’ve passed the wrong key for each call, everything is working perfectly now, thx anyway.

0reactions
martijndwarscommented, Jul 10, 2019

Ok, thanks for letting me know 👍 I’ll close this issue then!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Push event of service worker is not being called - Stack Overflow
If you are sure your service worker is registered in the browser but your 'push' event is not getting triggered, you can debug...
Read more >
Push notification isn't working when I launched a ... - GitHub
If you are sure your service worker is registered in the browser but your 'push' event is not getting triggered, you can debug...
Read more >
Web Push Troubleshooting - OneSignal Documentation
If you do not see the OneSignal service worker there, you have not ... the same page (refreshing the page is not enough...
Read more >
Using Service Workers - Web APIs | MDN
Install and activate: populating your cache · Here we add an install event listener to the service worker (hence self ), and then...
Read more >
push notification of "Assigned to" is not triggeri... - ServiceNow
Now whenever the trigger event for the email notification is performed, the Push Message will be sent out along with the email notification....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found