Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Learn More

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

  • Không có trả lời
  • 2 gặp vấn đề này
  • 8 lượt xem
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