# Unable to receive foreground notifications from Sendbird - React Native

**URL:** <https://community.sendbird.com/t/unable-to-receive-foreground-notifications-from-sendbird-react-native/2478>\
**Category:** JavaScript\
**Created:** [June 17, 2021, 2:27am UTC](https://community.sendbird.com/t/unable-to-receive-foreground-notifications-from-sendbird-react-native/2478 "2021-06-17T02:27:13Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![sraw](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/sraw/32/1326_2.png) [@sraw](https://community.sendbird.com/u/sraw)\
**Post date:** [June 17, 2021, 2:27am UTC](https://community.sendbird.com/t/unable-to-receive-foreground-notifications-from-sendbird-react-native/2478/1 "2021-06-17T02:27:13Z")

</div>

Hi, i’m in the process of integrating the service in my React Native app. There is 1 user in a group channel and when the app is closed and the admin sends a message with push enabled, i receive a generic notification fine but when i’m in the foreground nothing happens. Sending an FCM test message from Firebase is being received OK. Not sure if i’m missing a step from the doc ?

Right now, on launch, after grabbing the FCM token for the currently logged in user, I register that with Sendbird alongside setting the user’s push notif trigger to ‘all’.

Any advise ?

Thanks

---

<div class="post-metadata">

**Author:** ![Tyler](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/tyler/32/810_2.png) [@Tyler](https://community.sendbird.com/u/Tyler)\
**Post date:** [June 21, 2021, 5:47pm UTC](https://community.sendbird.com/t/unable-to-receive-foreground-notifications-from-sendbird-react-native/2478/2 "2021-06-21T17:47:50Z")

</div>

Hi @sraw,

Welcome to the Sendbird Community! This is likely because by default we only send push notifications when all devices are offline (background). When the application is in the foreground the user is considered online and thus we don’t send them a push. If you’re hoping to get a push notification, you’ll want to go to your application and go to Settings \> Notifications and ensure `Send to devices both offline and online` is checked.

 ![t3TsbStm](https://us1.discourse-cdn.com/flex020/uploads/sendbird/original/2X/7/703ae9361d07eba4936942285f1da8fd3033c2ca.png)

---

<div class="post-metadata">

**Author:** ![sraw](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/sraw/32/1326_2.png) [@sraw](https://community.sendbird.com/u/sraw)\
**Post date:** [June 25, 2021, 1:50am UTC](https://community.sendbird.com/t/unable-to-receive-foreground-notifications-from-sendbird-react-native/2478/3 "2021-06-25T01:50:51Z")

</div>

Hi @Tyler, Thanks for the response back. I can confirm that the option is checked but i’m not receiving any notifications from Sendbird. Just to confirm once again, it is an ADMIN sending a message to a user with push enabled.

Thanks

---

<div class="post-metadata">

**Author:** ![Tyler](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/tyler/32/810_2.png) [@Tyler](https://community.sendbird.com/u/Tyler)\
**Post date:** [June 25, 2021, 9:49pm UTC](https://community.sendbird.com/t/unable-to-receive-foreground-notifications-from-sendbird-react-native/2478/4 "2021-06-25T21:49:36Z")

</div>

Can you share with me how you’re sending an ADMM message? Are you sending it via the dashboard or via another method?

---

<div class="post-metadata">

**Author:** ![sraw](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/sraw/32/1326_2.png) [@sraw](https://community.sendbird.com/u/sraw)\
**Post date:** [June 27, 2021, 1:32am UTC](https://community.sendbird.com/t/unable-to-receive-foreground-notifications-from-sendbird-react-native/2478/5 "2021-06-27T01:32:25Z")

</div>

Hi Tyler, apologies. There was an issue with APNS notifications being received in the foreground. That’s fixed and now i’m able to receive foreground notifications fine. Thanks a lot. This thread can be closed.

---

<div class="post-metadata">

**Author:** ![Tyler](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/tyler/32/810_2.png) [@Tyler](https://community.sendbird.com/u/Tyler)\
**Post date:** [June 27, 2021, 1:58am UTC](https://community.sendbird.com/t/unable-to-receive-foreground-notifications-from-sendbird-react-native/2478/6 "2021-06-27T01:58:33Z")

</div>


