firebase / firebase/firebase-admin-java
Trigger background message handler with data in payload
未關閉
api: messaging
type: question
- 主要語言
- Java
- 星號
- 620
- 分支
- 305
- 平均合併
- 3 小時 23 分鐘
- 30 天內合併 PR
- 1
描述
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?
貢獻指南
評估
這個 Issue 還沒有評估資料。