FCM & Notifee double notifications on background listner #836
Unanswered
dorjsurend
asked this question in
Q&A
Replies: 1 comment
-
Did you consult this documentation to run IOS notifications in "headless" mode? https://rnfirebase.io/messaging/usage#background-application-state |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello guys.
I am using FCM and Notifee to show notification on my app. But problem is when app is on killed or quit state it's showing double notification. One is from notifee another one is from FCM. I think it's expected behaviour and i tried to send data only notification from firebase but on ios it's not triggering background handler when app is quit state. My question is how to handle this or i am doing it wrong?
messaging().setBackgroundMessageHandler(onMessageReceived); // onMessageReceived will show local notification
Beta Was this translation helpful? Give feedback.
All reactions