# Push notification implementation in React native

**URL:** <https://forum.social.plus/t/push-notification-implementation-in-react-native/1831>\
**Category:** General\
**Created:** [November 3, 2025, 9:45am UTC](https://forum.social.plus/t/push-notification-implementation-in-react-native/1831 "2025-11-03T09:45:36Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![pravat04](https://avatars.discourse-cdn.com/v4/letter/p/838e76/32.png) [@pravat04](https://forum.social.plus/u/pravat04)\
**Post date:** [November 3, 2025, 9:45am UTC](https://forum.social.plus/t/push-notification-implementation-in-react-native/1831/1 "2025-11-03T09:45:36Z")

</div>

I want to implement push notifications for both **Android** and **iOS** in my React Native app using **Amity SDK**.

I first generate the Firebase token in my app and send it to the Amity server using the following function:  
const payload = {  
deviceId: deviceId,  
platform: platform === ‘ios’ ? ‘ios’ : ‘android’,  
token: fcmToken,  
userId: userId,  
provider: ‘fcm’,  
};

const response = await fetch(‘[https://apix.us.amity.co/v1/notification’](https://apix.us.amity.co/v1/notification%E2%80%99), {  
method: ‘POST’,  
headers: {  
‘Content-Type’: ‘application/json’,  
},  
body: JSON.stringify(payload),  
});

I’ve also uploaded the **notification certificates** for both platforms in the Amity Notification settings.

However, I’m **not receiving any notifications** when a user starts a live stream (or in similar cases).

Can someone please confirm if there are **additional steps or configurations** required to make notifications work with Amity on both Android and iOS?

---

<div class="post-metadata">

**Author:** ![SocialPlus\_Support](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.social.plus/socialplus_support/32/798_2.png) [@SocialPlus\_Support](https://forum.social.plus/u/SocialPlus_Support)\
**Post date:** [November 3, 2025, 10:29am UTC](https://forum.social.plus/t/push-notification-implementation-in-react-native/1831/2 "2025-11-03T10:29:53Z")

</div>

Hello @pravat04, please refer to the guide for instructions on how to set up and implement push notifications in React Native

**Link:** [React Native Push Notifications - social.plus](https://learn.social.plus/social-plus-sdk/core-concepts/realtime-communication/push-notifications/setup/react-native-setup)

---

<div class="post-metadata">

**Author:** ![pravat04](https://avatars.discourse-cdn.com/v4/letter/p/838e76/32.png) [@pravat04](https://forum.social.plus/u/pravat04)\
**Post date:** [November 3, 2025, 1:03pm UTC](https://forum.social.plus/t/push-notification-implementation-in-react-native/1831/3 "2025-11-03T13:03:39Z")

</div>

when i tried to hit the api with fcm to token to send in amity server i got this error  
❌ [PushNotificationService] Amity API registration failed: [Error: API request failed: 422 - {  
“status”: “error”,  
“message”: “Parameters validation error!”,  
“code”: 500000,  
“data”: {  
“detail”: [  
“The ‘apiKey’ field is required.”  
]  
}  
}]

what is the api key is here ?

---

<div class="post-metadata">

**Author:** ![SocialPlus\_Support](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.social.plus/socialplus_support/32/798_2.png) [@SocialPlus\_Support](https://forum.social.plus/u/SocialPlus_Support)\
**Post date:** [November 4, 2025, 4:08am UTC](https://forum.social.plus/t/push-notification-implementation-in-react-native/1831/4 "2025-11-04T04:08:18Z")

</div>

Hello @pravat04 , The error indicates that the **`apiKey`** parameter is missing in your request.  
You can find instructions on how to obtain your **API Key** from the Social+ Console here:

👉 [How to Get Your API Key](https://learn.social.plus/analytics-and-moderation/console/getting-started/overview#1-get-your-api-key)

Please add this key to your request and try again.
