firebase / firebase/firebase-admin-java

Trigger background message handler with data in payload

オープン
#766 コメント 2 件 リアクション 0 件 担当者 1 名 @leolux に割り当て済み GitHub で見る
api: messaging type: question
主要言語
Java
スター
620
フォーク
305
平均マージ
3時間 23分
マージ済み PR(30日)
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 はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。