Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

229
Vistas
Image Doesn't show in Notification React Native Firebase

I have a problem with images in notification with rnfirebase v5.6.0. I receive image from messaging and the image link correct but can't show the image in notification. It does not happen at all the time, it happens in some unknown situations. This is my display notification code


const notification = new firebase.notifications.Notification({
 sound: 'default',
 show_in_foreground: true,
})
 .setNotificationId(notificationId)
 .setTitle(notificationData.title)
 .setBody(notificationData.body)
 .setData(notificationData.data)
 .android.setColor('#ffffff')
 .android.setAutoCancel(true)
 .android.setChannelId('channelId')
 .android.setSmallIcon('ic_stat_name')
 .android.setPriority(firebase.notifications.Android.Priority.Max)
 .android.setBigPicture(message._android._bigPicture.picture)
 .android.setLargeIcon(message._android._largeIcon);

firebase.notifications().displayNotification(notification);

For more information my react native version is 0.61.5 and my react-native-firebase version is 5.6.0.

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

Update the react-native-firebase package to version 6.0.0 and above and use notifee package for notifications

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda