[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日)
- 38
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
firebase/flutterfire のほかの issue
-
🚀 [firebase_core] Bump Firebase iOS SDK (12.19.0 → 13.0.0)対応中かも @SelaseKay が 5 日前に担当しました。 オープンNeeds Attention platform: ios plugin: core type: enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
firebase/flutterfire#18769 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
[firebase_messaging]: Android: a burst of background messages starts a FlutterEngine per service start, and can lose all of them対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンNeeds Attention platform: android plugin: messaging type: bug
難易度 1/5 1時間未満 初心者へのやさしさ 45/100
firebase/flutterfire#18789 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
[📚] Remote Config Windows Support still N/A on Readme対応中かも @nightcityblade が 6 日前に担当しました。 オープンblocked: customer-response good first issue Needs Attention platform: windows plugin: remote_config type: documentation
難易度 1/5 1時間未満 初心者へのやさしさ 30/100
firebase/flutterfire#18763 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
[firebase_ai]: TemplateChatSession.sendMessage drops auto-executed function call/response turns from history対応中かも @chiliec が 8 日前に担当しました。 オープンNeeds Attention platform: all platform: web plugin: ai reproduced type: bug
難易度 2/5 1〜3時間 初心者へのやさしさ 35/100
firebase/flutterfire#18757 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
[cloud_firestore] iOS: transaction.get() after the native timeout aborts the app ("A transaction object cannot be used after its update callback has been invoked")対応中かも @SelaseKay が 2 日前に担当しました。 オープンNeeds Attention platform: ios plugin: cloud_firestore reproduced type: bug type: crash
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
firebase/flutterfire#18755 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
firebase/flutterfire の issue をすべて見る
似ている issue
-
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 ·
-
Mobile login: "Sign In" button is squashed to 16 px with its label cut while the keyboard is openオープンai-driven-qa bug claude
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
linagora/tmail-flutter#4976 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
aaronified/fluenough#503 ·
メンテナーはふだん 1 日以内に返信