I receive only last one message when turn on internet?
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 25/100
Línea de trabajo
No se proporciona ningún archivo del repositorio, prueba ni código de aplicación reproducible. Empieza revisando la guía de FCM sobre notificaciones en segundo plano de las issues #4 y #89 y, después, reproduce el payload indicado y la secuencia sin conexión en las versiones de Android enumeradas. Se considera terminado establecer si el comportamiento es el esperado e identificar un cambio concreto en el repositorio o una actualización de la documentación.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
send with notification payload for background notification.
but if send without "notification" payload i receive notification is normal when send while device off internet and then device turn on internet.
https://fcm.googleapis.com/fcm/send
{
"to":"....",
"data":{
"destination":"1",
"source":"2",
"badge":"1"},
"notification":{
"title":"Hello7","body":"Hello Test"
},
"priority":"high"
}
Step 1: Describe your environment
- Android device: test on Pixel 2xl,Oneplus6,Oppo F7
- Android OS version: Android 10,9,8
- Google Play Services version: Last
- Firebase/Play Services SDK version: Last
Step 2: Describe the problem:
Steps to reproduce:
- Turn off internet
- send fcm message 10
- Turn on internet
- Receive only last one message and 9 message not receive
Note**: but when send notification while device online notification receive normal
Observed Results:
2019-12-03 14:03:47.765 4931-4931/? V/FA-SVC: NetworkBroadcastReceiver received action: android.net.conn.CONNECTIVITY_CHANGE
2019-12-03 14:03:47.801 4931-15302/? V/FA-SVC: Unregistering connectivity change receiver
2019-12-03 14:03:47.802 4931-15302/? V/FA-SVC: Upload scheduled in approximately ms: 3047916
2019-12-03 14:03:47.802 4931-15302/? V/FA-SVC: Cancelling job. JobID: 812057698
2019-12-03 14:03:47.811 4931-15302/? V/FA-SVC: Scheduling upload with GcmTaskService
2019-12-03 14:03:47.811 4931-15302/? V/FA-SVC: Scheduling task with Gcm. time: 3047916
2019-12-03 14:03:48.216 10173-15301/com.tss.testfcmraw D/FA: Logging event (FE): notification_receive(_nr), Bundle[{ga_event_origin(_o)=fcm, message_type(_nmc)=display}]
2019-12-03 14:03:48.309 10173-15301/com.tss.testfcmraw V/FA: Connecting to remote service
2019-12-03 14:03:48.330 10173-15301/com.tss.testfcmraw D/FA: Connected to remote service
2019-12-03 14:03:48.333 10173-15301/com.tss.testfcmraw V/FA: Processing queued up service tasks: 1
2019-12-03 14:03:48.367 4931-15302/? V/FA-SVC: Logging event: origin=fcm,name=notification_receive(_nr),params=Bundle[{ga_event_origin(_o)=fcm, message_type(_nmc)=display}]
2019-12-03 14:03:48.395 4931-15302/? V/FA-SVC: Saving event, name, data size: notification_receive(_nr), 35
2019-12-03 14:03:48.396 4931-15302/? V/FA-SVC: Event recorded: Event{appId='com.tss.testfcmraw', name='notification_receive(_nr)', params=Bundle[{ga_event_origin(_o)=fcm, message_type(_nmc)=display}]}
2019-12-03 14:03:48.398 4931-15302/? V/FA-SVC: Upload scheduled in approximately ms: 3047320
2019-12-03 14:03:48.399 4931-15302/? V/FA-SVC: Cancelling job. JobID: 812057698
2019-12-03 14:03:48.402 4931-15302/? V/FA-SVC: Scheduling upload with GcmTaskService
2019-12-03 14:03:48.402 4931-15302/? V/FA-SVC: Scheduling task with Gcm. time: 3047320
2019-12-03 14:03:48.407 4931-15302/? V/FA-SVC: Background event processing time, ms: 41
2019-12-03 14:03:53.373 10173-15301/com.tss.testfcmraw V/FA: Inactivity, disconnecting from the service
Expected Results:
When turn on internet i want to get 10 notification.
Relevant Code:
// TODO(you): code here to reproduce the problem
- Lenguaje dominante
- Kotlin
- Estrellas
- 9.3k
- Forks
- 7.4k
- Merge medio
- 7 d 9 h
- PR fusionados (30 d)
- 6
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de firebase/quickstart-android
-
Dificultad 3/5 1-2 días Aptitud para principiantes 35/100
firebase/quickstart-android#2756 · 1 comentario ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
firebase/quickstart-android#2754 · 5 comentarios · 1 reacción ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 32/100
firebase/quickstart-android#2668 ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
firebase/quickstart-android#2663 · 1 comentario ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
firebase/quickstart-android#1669 · 3 comentarios ·
Todos los issues de firebase/quickstart-android
Issues similares
-
android:plan main:plan packages:learn
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
Los mantenedores suelen responder en 1 día
-
Needs Triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
ankidroid/Anki-Android#23453 ·
Los mantenedores suelen responder en 1 día
-
afk-ok area:data-quality importer size:S
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
enorm-labs/event-junkie#5278 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
bazel-contrib/rules_kotlin#1846 ·
Los mantenedores suelen responder en 2 días