Duplicate Notifications Delivered through FC
維護者通常 4 天內回覆
還沒有人認領這個 Issue。
評估
研究方向
未指定任何 repository 檔案或測試。請從 FirebaseMessaging.getInstance.send 呼叫開始,將伺服器訊息 ID 和傳送日誌與 Notification Service Extension 的接收日誌進行比較。完成標準是確認重複是源自 SDK、Firebase Cloud Messaging,還是下游傳遞,並提供可重現的驗證或記錄在案的外部原因。
由索引模型根據 Issue 內容生成。
描述
Environment:
- Operating System version: Java 8
- Firebase SDK version: 10.11.0
- Library version: 8.1.0
- Firebase Product: messaging (auth, database, storage, etc)
Problem:
We're seeing multiple instances of a single message being sent via Cloud Messaging using the Firebase Admin SDK, and users seeing duplicates on iOS. We have logs both on the server side, directly before and after on the server side, and on the client side upon receipt in a Notification Service Extension.
We've verified through these logs (tied to data from user screenshots), that the message is sent only once on our server, we receive a success response from the Firebase SDK, and the user receives that exact notification twice.
Server Logs:
16:08:16.542 | al-pool-2228 | INFO | w.SendNotificationWorker$ | 303 | 31ec5101-b43e-4519-99a1-9bb3650471c7: Successfully sent notification 2273480
16:08:16.537 | al-pool-7377 | INFO | .n.NotificationDispatcher | 342 | Notification id 2273480 sent status true
16:08:16.537 | al-pool-7377 | INFO | c.s.f.s.FirebaseService$ | 158 | Submitted notification to Firebase with messageId: projects/{redacted}/messages/{redacted} for notification id: 2273480
16:08:16.336 | al-pool-4602 | INFO | w.SendNotificationWorker$ | 92 | 31ec5101-b43e-4519-99a1-9bb3650471c7: Sending notification 2273480
Client Logs:
16:08:21.092 AM -0700 | INFO | {redacted} | NotificationService | did receive notification | notificationId = 2273480
16:08:21.091 AM -0700 | INFO | {redacted} | NotificationService | did receive notification | notificationId = 2273480
Relevant Code:
val messageId = FirebaseMessaging.getInstance.send(messageBuilder.build)
logger.info(s"Submitted notification to Firebase with messageId: $messageId for notification id: ${notificationId
.getOrElse(0L)}")
- 主要語言
- Java
- 星號
- 620
- 分支
- 305
- 平均合併
- 3 天 12 小時
- 30 天內合併 PR
- 12
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
firebase/firebase-admin-java 的其他 Issue
-
google-http-client-jackson2 cannot be excluded even when a JsonFactory is configured via FirebaseOptions可能已有人在做 @lahirumaramba 於 12 天前認領。 未關閉
難度 4/5 3-5 天 新手友好度 48/100
firebase/firebase-admin-java#1231 · 已指派 1 人 ·
維護者通常 4 天內回覆
-
[BUG] RemoteConfig unit tests fail in non-English (e.g., Korean) Locales due to Date Parsing可能已有人在做 @rathovarun1032 於 210 天前認領。 未關閉api: remoteconfig
firebase/firebase-admin-java#1196 · 1 則留言 · 已指派 2 人 ·
維護者通常 4 天內回覆
-
Auth list tenants is not pageable可能已有人在做 @siddharthmohan619-eng 於 215 天前認領。 未關閉
難度 3/5 1-2 天 新手友好度 45/100
firebase/firebase-admin-java#1192 · 3 則留言 ·
維護者通常 4 天內回覆
-
needs-triage type: feature request
難度 3/5 1-2 天 新手友好度 45/100
firebase/firebase-admin-java#1149 · 1 則留言 ·
維護者通常 4 天內回覆
-
[FR] Expose `link` / `link_android` in notifications for deep linking可能重新可做 @won-seoop 於 142 天前認領,目前沒有進行中的 PR。 未關閉needs-triage type: feature request
難度 5/5 一週以上 新手友好度 45/100
firebase/firebase-admin-java#1142 · 2 則留言 ·
維護者通常 4 天內回覆
查看 firebase/firebase-admin-java 的全部 Issue
相似的 Issue
-
BoxAttachmentMulti parsing leaks IOException / ArrayIndexOutOfBoundsException on malformed content instead of IllegalArgumentException可能已有人在做 @Kshot3000 今天認領。 未關閉
難度 2/5 1-3 小時 新手友好度 74/100
ergoplatform/ergo-appkit#272 ·
-
難度 2/5 1-3 小時 新手友好度 64/100
-
難度 2/5 1-3 小時 新手友好度 66/100
-
難度 2/5 1-3 小時 新手友好度 64/100
utopia-rise/godot-jvm#1004 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 82/100
spring-projects/spring-grpc#442 ·