Cerca nel supporto

Attenzione alle mail truffa. Mozilla non chiederà mai di chiamare o mandare messaggi a un numero di telefono o di inviare dati personali. Segnalare qualsiasi attività sospetta utilizzando l'opzione “Segnala abuso”.

Ulteriori informazioni

Questa discussione è archiviata. Inserire una nuova richiesta se occorre aiuto.

push notification

  • 1 risposta
  • 1 ha questo problema
  • 17 visualizzazioni
  • Ultima risposta di 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.
Immagini allegate

Soluzione scelta

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

Leggere questa risposta nel contesto 👍 0

Tutte le risposte (1)

more options

Soluzione scelta

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

Modificato da Balázs Meskó il