What is messaging_android_notification_channel_id
used for?
#5791
-
I'm a little bit confused about the documentation about It says that any notification message sent via FCM will use a default channel. As I understand it you can override which channel FCM uses by adding Does this mean that all notifications sent via FCM has to use the same channel? Or is it only used if I don't specify any channel in my message payload to FCM? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
All notifications post as a result of FCM sent to firebase messaging will use the same channel, either the default or the one you configure. example JSON you may send using FCM while integrated with notifee that would allow server-specified delivery channel: https://notifee.app/react-native/docs/integrations/fcm#server-creation |
Beta Was this translation helpful? Give feedback.
All notifications post as a result of FCM sent to firebase messaging will use the same channel, either the default or the one you configure.
If that's not what you want, you'll need to change the way your app works such that firebase messaging is used to receive FCM but is not in charge of posting notifications (read as: no notification block) and instead your messaging handlers integrate with a full-featured notification package (for example: notifee.app) and you use that to control how notifications are posted
example JSON you may send using FCM while integrated with notifee that would allow server-specified delivery channel: https://notifee.app/react-native/docs/integrations/fcm#server…