Skip to content

Trigger background message handler with data in payload #766

Open
@leolux

Description

@leolux

Regarding the documentation, the method "setBackgroundMessageHandler" of the service worker should be triggered when the payload contains data, not if the notification contains data:

messaging.setBackgroundMessageHandler(...)

How to send a web push message using firebase-admin-java that contains data in the payload that triggers this callback method?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions