question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

add fcm image and data support

See original GitHub issue

💡 The current fcm notification implementation doesn’t support sending image field, it allows only body and title

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:3
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
caronccommented, Nov 24, 2021

Got it! 👍 Shouldn’t be too difficult to do. I’ll work on this next and keep you posted.

1reaction
amit-ypcommented, Nov 21, 2021

We don’t need upload to cloud functionality(although it would be useful to have).

  • We need the Message object you are building here to include image, data and other sections as defined by FCM-Message object here
Read more comments on GitHub >

github_iconTop Results From Across the Web

Send an image in the notification payload - Firebase - Google
The FCM HTTP v1 API and the Notifications composer support sending image links in the payload of a display notification, for image download...
Read more >
Firebase Expandable Notification Show image when app is in ...
FCM notification messages don't support the largeIcon or bigPicture. if you need them while in background you can use a FCM data message...
Read more >
Adding images to push notifications - Leanplum Documentation
Adding an image to a push notification · Create a new push notification campaign. · Choose targets. · Click the Image field to...
Read more >
Android Firebase Push Notification With an Image - YouTube
In this video we are going to learn about how to display Firebase push notification with an image. If you send the push...
Read more >
Push notifications w/ images | Voters - Expo - Canny
Support images in data messages displayed by expo · Allow handling of clicks on FCM notification messages · Allow pure invisible data messages...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found