[firebase_messaging]: FirebaseMessaging.onMessage not received any data
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 48/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
調査の方向性
Start by checking the firebase_messaging iOS implementation around FLTFirebaseMessagingPlugin.configureNotificationCenterDelegate() and how foreground messages reach FirebaseMessaging.onMessage. Reproduce the report on an iOS simulator using the provided notification and data payload, then compare behavior with the banner presentation options. Done means identifying why the foreground callback receives no data and confirming the expected behavior with a focused regression test.
索引モデルが issue の本文から書いたものです。
説明
Is there an existing issue for this?
- I have searched the existing issues.
Are you aware of the differences between iOS and Android background message handling?
- I understand that iOS and Android background messages behave differently, and I've designed my application with that in mind.
Do you have an active Apple Developer account?
- I have an active Apple Developer account.
Are you using a physical iOS device to test background messages?
- I am using a physical iOS device to test background messages.
Have you enabled "Remote Notifications" & "Background Mode" (Checking options for "Background Processing" & "Remote Notifications") in your app's Xcode project?
iOS simulator issues
FirebaseMessaging.onMessage not working
version firebase_messaging: ^16.7.0
added FLTFirebaseMessagingPlugin.configureNotificationCenterDelegate()
Have you created an APNs key in your Apple Developer account & uploaded this APNs key to your Firebase console?
yes
Have you disabled method swizzling for Firebase in your app?
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>FirebaseAppDelegateProxyEnabled</key>
<true/>
Are you sending messages to your app from the Firebase Admin SDK?
{
message: {
token: token,
notification: {
title: notifTitle,
body: notifBody,
},
data: {
title: notifTitle,
body: notifBody,
thread_id: String(thread_id || ""),
type: String(type || "CHAT"),
//...data,
},
android: {
priority: "HIGH",
notification: {
title: notifTitle,
body: notifBody,
sound: "default",
channel_id: "bizcentre_omnichannel_channel",
notification_priority: "PRIORITY_MAX",
default_sound: true,
default_vibrate_timings: true,
visibility: "PUBLIC",
},
},
apns: {
headers: {
"apns-push-type": "alert",
"apns-priority": "10"
},
payload: {
aps: {
alert: {
title: notifTitle,
body: notifBody,
},
sound: "default",
badge: 1,
"content-available": 1,
'mutable-content': 1,
},
},
},
},
}
Have you requested permission from the user to receive notifications?
- I have the relevant permission to receive notifications.
Have you used the 'Console' application on your macOS device to check if the iOS device's system is throttling your background messages?
the banner shown if set
await FirebaseMessaging.instance.setForegroundNotificationPresentationOptions(
alert: true,
badge: true,
sound: true,
);
Additional context and comments
No response
- 主要言語
- Dart
- スター
- 9.3k
- フォーク
- 4.1k
- 平均マージ
- 2日 2時間
- マージ済み PR(30日)
- 41
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
firebase/flutterfire のほかの issue
-
🚀 [firebase_core] Bump Firebase C++ SDK (13.13.0 → 14.0.0)対応中かも @SelaseKay が今日担当しました。 オープンNeeds Attention plugin: core type: enhancement
難易度 3/5 1〜2日 初心者へのやさしさ 18/100
firebase/flutterfire#18798 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
[firebase_auth]: authStateChanges() never emits null when the user is force-signed-out before the stream is listened to (iOS, macOS, Android)対応中かも @JulianPscheid が今日担当しました。 オープンNeeds Attention platform: android platform: ios platform: macos plugin: auth type: bug
難易度 4/5 1〜2日 初心者へのやさしさ 15/100
firebase/flutterfire#18796 ·
メンテナーはふだん 1 日以内に返信
-
Needs Attention platform: ios plugin: messaging type: bug
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
firebase/flutterfire#18793 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
[firebase_core] Firebase.initializeApp with demoProjectId crashes on iOS with SIGABRT (FIRInstallations validateAPIKey) - Follow-up to locked #17788対応中かも @SelaseKay が 1 日前に担当しました。 オープンNeeds Attention platform: ios plugin: core reproduced type: bug type: crash
難易度 2/5 1〜3時間 初心者へのやさしさ 22/100
firebase/flutterfire#18790 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
[firebase_messaging]: Android: a burst of background messages starts a FlutterEngine per service start, and can lose all of them対応中かも @SelaseKay が 1 日前に担当しました。 オープンNeeds Attention platform: android plugin: messaging reproduced type: bug
難易度 1/5 1時間未満 初心者へのやさしさ 45/100
firebase/flutterfire#18789 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
firebase/flutterfire の issue をすべて見る
似ている issue
-
coverage 1.16.0: format_coverage fails on the `{}` that `dart test --coverage` writes for fully skipped suites対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
-
fyi-ecosystem platform-ios team-ios
難易度 1/5 1時間未満 初心者へのやさしさ 70/100
flutter/flutter#194348 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
documentation good first issue
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
djazairdev/wilayas#22 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 80/100
rajput-hemant/calculator#199 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
leancodepl/app-rating#35 ·