# Push Notifications - React Native - Watching LOTS of channels dynamically?

**URL:** <https://community.sendbird.com/t/push-notifications-react-native-watching-lots-of-channels-dynamically/1122>\
**Category:** JavaScript\
**Tags:** group-channel, push-notification, chatsdk\
**Created:** [October 10, 2020, 1:25pm UTC](https://community.sendbird.com/t/push-notifications-react-native-watching-lots-of-channels-dynamically/1122 "2020-10-10T13:25:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bgold](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/bgold/32/593_2.png) [@bgold](https://community.sendbird.com/u/bgold)\
**Post date:** [October 10, 2020, 1:25pm UTC](https://community.sendbird.com/t/push-notifications-react-native-watching-lots-of-channels-dynamically/1122/1 "2020-10-10T13:25:25Z")

</div>

I’m a bit confused on how to set up push notifications with my current use case.

**Use Case:** On my application, a user is apart of hundreds of channels that consist of small communications with a few people. In these conversations, I want to push notifications to their devices when they are mentioned in any of these channels.

If a user is not in the channel and they are mentioned, I first invite them, where they join automatically without accepting, and then send the mention.

It appears, [from the implementation links offered by Sendbird](https://docs.sendbird.com/javascript/push_notifications#3_step_3_receive_fcm_notification_messages) that you are only able to watch one channel at a time. On top of that, I don’t always know which channels my user is in.

```
const localNotification = new firebase.notifications.Notification({
    show_in_foreground: true
})
.android.setChannelId(CHANNEL_ID) // only one channel available to watch

```

Am I wrong to assume this? I haven’t figured out how to watch for all channels that my user is currently in and send push notifications when necessary.

Help help would be appreciated.

---

<div class="post-metadata">

**Author:** ![Jason](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/jason/32/488_2.png) [@Jason](https://community.sendbird.com/u/Jason)\
**Post date:** [October 11, 2020, 4:08am UTC](https://community.sendbird.com/t/push-notifications-react-native-watching-lots-of-channels-dynamically/1122/2 "2020-10-11T04:08:06Z")

</div>

Hi. @bgold

in the line .android.setChannelId(CHANNEL\_ID) the channel here is not part of Sendbird. Please consider the channel to be an “Android Notification Channel” belonging to [Android](https://developer.android.com/reference/android/app/Notification.Builder#setChannelId(java.lang.String)) and not associated with Sendbird other than as a conduit to pipe Sendbird’s notifications through.

Please also consider that Sendbird does not send notification type messages. This means that `firebase.notifications.Notfications` also is not suitable for this case.

If you are using the latests version of Firebase I’d like to recommend using this [blog post](https://medium.com/@saranshmalik63/handling-push-notifications-with-react-native-firebase-v6-c2575276c787) as a reference. As I know, Sendbird’s docs are in the process of being updated to account for changes starting from Firebase version 6.
