Android: why notificationReceived
event is not triggered in case of background app and notification from firebase notification composer
#498
-
android, app in background. Notification is sent from firebase console composer, so it looks like this, when inspecting firebase campaigns POST endpoint response
Why is this the issue - is this considered as a https://firebase.google.com/docs/cloud-messaging/js/send-with-console I saw in docs of this plugin that it mentions that event in background app will only be triggered in case when some custom data is available (for android and for ios), but anyway i feel a bit in a blurry here - would like to understand more. I guess its not question for you directly, but maybe you can share some references with some good explanations. Is this limitation of hybrid apps, would it be possible with pure native code/apps? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Thank you for your request!
This is a general limitation of Firebase. You can find out more here: https://firebase.google.com/docs/cloud-messaging/android/receive#handling_messages |
Beta Was this translation helpful? Give feedback.
Thank you for your request!
Your code is truncated and therefore does not contain much information. But yes, as far as I know, you can't send "background notifications" via the Firebase Console.
This is a general limitation of Firebase. You can find out more here: https://firebase.google.com/docs/cloud-messaging/android/receive#handling_messages