Cari Bantuan

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How to send notification via web push in php using GCM?

  • Tidak ada balasan
  • 2 memiliki masalah ini
  • 7 kunjungan
more options

Hey There,

I want to send push notifications to my web site mozilla firefox browser. I am doing the same on chrome and it is working fine.

I have generated the GCM Id fro the browser.I am unable to send the notification to that particular user who is accessing site through firefox. Example Endpoint -

https://updates.push.services.mozilla.com/push/v1/gAAAAABXPZHJ9zdWL0YI3wByjlRwL7gmJE-myoVAdxNr3ezr6XPmor2AtgF4pzG4Sn0SiqtmkqA61orwcf38CfStVa0ooaykSFc7wcREqBzzMZGy8WT4hVBClBWemVdsP9POYPPNPEdf

Above is what I get when I ask service worker to register a user for Push Notification.

I want PHP code to send the notifications via https://updates.push.services.mozilla.com/.

Please help me out.

Thanks in Advance

Hey There, I want to send push notifications to my web site mozilla firefox browser. I am doing the same on chrome and it is working fine. I have generated the GCM Id fro the browser.I am unable to send the notification to that particular user who is accessing site through firefox. Example Endpoint - https://updates.push.services.mozilla.com/push/v1/gAAAAABXPZHJ9zdWL0YI3wByjlRwL7gmJE-myoVAdxNr3ezr6XPmor2AtgF4pzG4Sn0SiqtmkqA61orwcf38CfStVa0ooaykSFc7wcREqBzzMZGy8WT4hVBClBWemVdsP9POYPPNPEdf Above is what I get when I ask service worker to register a user for Push Notification. I want PHP code to send the notifications via https://updates.push.services.mozilla.com/. Please help me out. Thanks in Advance