-
I am working on push notification, I replace all stages (background, quit, foreground ) of notification with custom style in setBackgroundMessageHandler but every time I am getting both RNFN notification and custom notification. please to help me solve this issue. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Without posting the actual JSON you are posting to the FCM REST API no one can say anything. |
Beta Was this translation helpful? Give feedback.
Without posting the actual JSON you are posting to the FCM REST API no one can say anything.
If I had to guess, you are sending a notification and data chunk in your FCM JSON, so the firebase SDKs handle the notification and you are handling the data chunk by posting a notification too. You have to make a choice, one or the other really.