[firebase_messaging] onMessage is missing notification.image #5615
Unanswered
psyanite
asked this question in
Feature request
Replies: 1 comment
-
Hello, Is there any chance we can get this ? I really need it to display a local notification when the app receives notification in the foreground. Update Furthermore, why don't you pass the whole notification object directly ? in file: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Issue
notification.image
is missing from_onMessage
I know my server is working correctly because when my app is running in the background, and I send a notification over to my Android, the image appears. but when I try to handle the notification in foreground mode, I want to catch it with
_onMessage
and show the image in a flushbar. But I cannot becausenotification.image
is missing.The expected behaviour is
notification.image
should be present.The Code
Output of
Log.debug
Flutter Doctor
Beta Was this translation helpful? Give feedback.
All reactions