Skip to content

[firebase_messaging] App not receiving push data when launched from background #2136

Closed
@omaryasirm

Description

@omaryasirm

On Android and ios push works as expected but only issue I'm facing is when a notification is sent with notification and data field while the app is running in the background I receive the notification in the notification drawer as expected, but when I reopen the app I don't receive any data. This scenario I just described happens with combined notification and data field push but if I only send data field push then I get the desired behaviour. Not sure if this is a bug or how it's supposed to work?

While I wait for a response I'm going to change the way I send push by sending 2 separate push, one with notification field and one with data field instead of combined push.

I'm using firebase_messaging: 6.0.12

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions