ابحث في الدعم

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

push notification

  • 1 (رد واحد)
  • 1 has this problem
  • 17 views
  • آخر ردّ كتبه 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.
Attached screenshots

الحل المُختار

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

Read this answer in context 👍 0

All Replies (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

Modified by Balázs Meskó