You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am working on a Flutter application integrate firebase_messaging plugin, and displaying background notification based on plugin
Some of my users on Android devices are reporting that notifications don’t redirect them to the intended app content when tapped. We’ve analyzed Google Analytics (GA) events and noticed that notification_receive events are logged in batches—ranging from 2 to 20 within a single second—after a delay. We suspect this is caused by battery-saving mechanisms from certain Android manufacturers, which hold notifications and release them all at once.
Here’s the critical part:
FirebaseMessaging.instance.getInitialMessage() returns null when the app is opened from a notification tap, even though the native Firebase SDK tracks a notification_open event.
This suggests the initial message data is lost or not properly passed when notifications arrive in these rapid batches.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, I am working on a Flutter application integrate
firebase_messaging
plugin, and displaying background notification based on pluginSome of my users on Android devices are reporting that notifications don’t redirect them to the intended app content when tapped. We’ve analyzed Google Analytics (GA) events and noticed that
notification_receive
events are logged in batches—ranging from 2 to 20 within a single second—after a delay. We suspect this is caused by battery-saving mechanisms from certain Android manufacturers, which hold notifications and release them all at once.Here’s the critical part:
FirebaseMessaging.instance.getInitialMessage() returns null when the app is opened from a notification tap, even though the native Firebase SDK tracks a
notification_open
event.This suggests the initial message data is lost or not properly passed when notifications arrive in these rapid batches.
Does anyone have idea on this?
Beta Was this translation helpful? Give feedback.
All reactions