Duplicate Notifications Delivered through FC
Mantenedores costumam responder em até 4 dias
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 25/100
Direção de pesquisa
Nenhum arquivo do repositório ou teste é nomeado. Comece na chamada a FirebaseMessaging.getInstance.send e compare o ID da mensagem no servidor e os logs de envio com os logs de recebimento da Notification Service Extension. A tarefa estará concluída quando for identificado se a duplicação se origina no SDK, no Firebase Cloud Messaging ou na entrega downstream, com uma verificação reproduzível ou uma causa externa documentada.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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)}")
- Linguagem predominante
- Java
- Estrelas
- 620
- Forks
- 306
- Merge médio
- 4d 7h
- PRs com merge (30d)
- 13
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de firebase/firebase-admin-java
-
google-http-client-jackson2 cannot be excluded even when a JsonFactory is configured via FirebaseOptionsTalvez já em andamento @lahirumaramba assumiu há 6 dias. Aberta
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 48/100
firebase/firebase-admin-java#1231 · 1 responsável ·
Mantenedores costumam responder em até 4 dias
-
[BUG] RemoteConfig unit tests fail in non-English (e.g., Korean) Locales due to Date ParsingTalvez já em andamento @rathovarun1032 assumiu há 204 dias. Abertaapi: remoteconfig
firebase/firebase-admin-java#1196 · 1 comentário · 2 responsáveis ·
Mantenedores costumam responder em até 4 dias
-
Auth list tenants is not pageableTalvez já em andamento @siddharthmohan619-eng assumiu há 209 dias. Aberta
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 45/100
firebase/firebase-admin-java#1192 · 3 comentários ·
Mantenedores costumam responder em até 4 dias
-
needs-triage type: feature request
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 45/100
firebase/firebase-admin-java#1149 · 1 comentário ·
Mantenedores costumam responder em até 4 dias
-
needs-triage type: feature request
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 45/100
firebase/firebase-admin-java#1142 · 2 comentários ·
Mantenedores costumam responder em até 4 dias
Todas as issues de firebase/firebase-admin-java
Issues semelhantes
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 90/100
bancolombia/scaffold-clean-architecture#1002 ·
Mantenedores costumam responder em até 1 dia
-
CalendarEventAttendance/get returns eventAttendanceStatus while the doc says attendanceStatusTalvez já em andamento @chibenwa assumiu hoje. Abertabug claude
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 90/100
linagora/tmail-backend#2697 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100
apache/skywalking#14120 ·
Mantenedores costumam responder em até 1 dia
-
[BUG] Case-insensitive search suggestions miss items when the JVM default locale is TurkishTalvez já em andamento @thswlsqls assumiu hoje. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
Mantenedores costumam responder em até 1 dia
-
[Feature] 关于启动游戏进度条显示的优化Abertaenhancement
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100
HMCL-dev/HMCL#6943 · 1 comentário ·
Mantenedores costumam responder em até 1 dia