I receive only last one message when turn on internet?
まだ誰も着手していません。
評価
調査の方向性
リポジトリのファイル、テスト、または再現可能なアプリケーションコードは提供されていません。まず issue #4 と #89 の FCM バックグラウンド通知に関するガイダンスを確認し、次に記載された payload とオフラインシーケンスを、一覧にある Android バージョンで再現してください。完了とは、その挙動が想定されたものかどうかを明らかにし、具体的なリポジトリの変更またはドキュメントの更新を特定することです。
索引モデルが issue の本文から書いたものです。
説明
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
- 主要言語
- Kotlin
- スター
- 9.3k
- フォーク
- 7.4k
- 平均マージ
- 7日 9時間
- マージ済み PR(30日)
- 6
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
firebase/quickstart-android のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
firebase/quickstart-android#2756 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
firebase/quickstart-android#2754 · コメント 5 件 · リアクション 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 32/100
firebase/quickstart-android#2668 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
firebase/quickstart-android#2663 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
firebase/quickstart-android#1669 · コメント 3 件 ·
firebase/quickstart-android の issue をすべて見る
似ている issue
-
android:plan main:plan packages:learn
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
メンテナーはふだん 1 日以内に返信
-
afk-ok area:data-quality importer size:S
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
enorm-labs/event-junkie#5278 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
LeanBitLab/LeanType#864 ·
メンテナーはふだん 1 日以内に返信
-
Comment NEW RI+MC+RR
難易度 1/5 1〜3時間 初心者へのやさしさ 70/100