push notification
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)
選ばれた解決策
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ó により