This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

ค้นหาฝ่ายสนับสนุน

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.

เรียนรู้เพิ่มเติม

push notification

  • 1 การตอบกลับ
  • 1 คนมีปัญหานี้
  • 17 ครั้งที่ดู
  • ตอบกลับล่าสุดโดย Balázs Meskó

more options

I was trying to push a notification in firefox. The title and body part is coming fine, but the image is not coming. When I attempted the same in chrome. Everything is fine. Is image not supported in firefox service worker? By the way, i am using firefox quantum 59.0.3 (64-bit) windows 10. Also I am using FCM for pushing messages.

I was trying to push a notification in firefox. The title and body part is coming fine, but the image is not coming. When I attempted the same in chrome. Everything is fine. Is image not supported in firefox service worker? By the way, i am using firefox quantum 59.0.3 (64-bit) windows 10. Also I am using FCM for pushing messages.
ภาพหน้าจอที่แนบมา

วิธีแก้ปัญหาที่เลือก

As you can see here: https://developer.mozilla.org/en-US/docs/Web/API/notification/image, this feature currently is only available in Chrome and Opera.

Icons work fine though, that could suit for you needs: https://developer.mozilla.org/en-US/docs/Web/API/Notification/icon

อ่านคำตอบนี้ในบริบท 👍 0

การตอบกลับทั้งหมด (1)

more options

วิธีแก้ปัญหาที่เลือก

As you can see here: https://developer.mozilla.org/en-US/docs/Web/API/notification/image, this feature currently is only available in Chrome and Opera.

Icons work fine though, that could suit for you needs: https://developer.mozilla.org/en-US/docs/Web/API/Notification/icon

เปลี่ยนแปลงโดย Balázs Meskó เมื่อ