# "@amityco/js-sdk": "^5.35.0" is not working in react-native

**URL:** https://forum.social.plus/t/amityco-js-sdk-5-35-0-is-not-working-in-react-native/683
**Category:** General
**Created:** [March 23, 2023, 11:14am UTC](https://forum.social.plus/t/amityco-js-sdk-5-35-0-is-not-working-in-react-native/683 "2023-03-23T11:14:22Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![ManishDhameja](https://avatars.discourse-cdn.com/v4/letter/m/f07891/32.png) [@ManishDhameja](https://forum.social.plus/u/ManishDhameja)
#### Post date: [March 23, 2023, 11:14am UTC](https://forum.social.plus/t/amityco-js-sdk-5-35-0-is-not-working-in-react-native/683/1 "2023-03-23T11:14:22Z")

</div>

It is throwing error while starting expo and not able to find module from package.json

---

<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: [March 23, 2023, 11:40am UTC](https://forum.social.plus/t/amityco-js-sdk-5-35-0-is-not-working-in-react-native/683/2 "2023-03-23T11:40:27Z")

</div>

Hi @ManishDhameja we’re checking this for you.

Thank you,  
Amity Support

---

<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: [March 23, 2023, 11:50am UTC](https://forum.social.plus/t/amityco-js-sdk-5-35-0-is-not-working-in-react-native/683/3 "2023-03-23T11:50:08Z")

</div>

Hi @ManishDhameja

For React Native we advise to switch from JS to TypeScript SDK for higher efficiency.  
Please find installation guides: [https://docs.amity.co/installation](https://docs.amity.co/installation)

Thank you,  
Amity Support

---

<div class="post-metadata">

### Author: ![ManishDhameja](https://avatars.discourse-cdn.com/v4/letter/m/f07891/32.png) [@ManishDhameja](https://forum.social.plus/u/ManishDhameja)
#### Post date: [March 23, 2023, 11:55am UTC](https://forum.social.plus/t/amityco-js-sdk-5-35-0-is-not-working-in-react-native/683/4 "2023-03-23T11:55:33Z")

</div>

Okay, since i want to integrate chat functionality in my application. SO can you please provide a sample typescript code for it

---

<div class="post-metadata">

### Author: ![ManishDhameja](https://avatars.discourse-cdn.com/v4/letter/m/f07891/32.png) [@ManishDhameja](https://forum.social.plus/u/ManishDhameja)
#### Post date: [March 23, 2023, 12:55pm UTC](https://forum.social.plus/t/amityco-js-sdk-5-35-0-is-not-working-in-react-native/683/5 "2023-03-23T12:55:22Z")

</div>

Expecting a prompt response by your side

---

<div class="post-metadata">

### Author: ![cijin](https://avatars.discourse-cdn.com/v4/letter/c/49beb7/32.png) [@cijin](https://forum.social.plus/u/cijin)
#### Post date: [March 24, 2023, 6:16am UTC](https://forum.social.plus/t/amityco-js-sdk-5-35-0-is-not-working-in-react-native/683/6 "2023-03-24T06:16:02Z")

</div>

Hey Manish,

You can find code snippets on the [doc / chat](https://docs.amity.co/chat).  
If you have any specific question, please feel free to reach back. 🙂

---

<div class="post-metadata">

### Author: ![ManishDhameja](https://avatars.discourse-cdn.com/v4/letter/m/f07891/32.png) [@ManishDhameja](https://forum.social.plus/u/ManishDhameja)
#### Post date: [March 24, 2023, 6:48am UTC](https://forum.social.plus/t/amityco-js-sdk-5-35-0-is-not-working-in-react-native/683/7 "2023-03-24T06:48:31Z")

</div>

The doc is a little confusing and give so much errors while implementing. Since I am struggling with it since 2 weeks so it would be a great help if you help me with a sample application please

---

<div class="post-metadata">

### Author: ![cijin](https://avatars.discourse-cdn.com/v4/letter/c/49beb7/32.png) [@cijin](https://forum.social.plus/u/cijin)
#### Post date: [March 24, 2023, 7:32am UTC](https://forum.social.plus/t/amityco-js-sdk-5-35-0-is-not-working-in-react-native/683/8 "2023-03-24T07:32:05Z")

</div>

Hey,

I can understand your struggle. This is sample app is using an older version of the Ts-SDK. But should give you a good starting point.

You will need to use `subChannels` for chat additionally from the sample app below. As it was developer recently.

> **[GitHub - AmityCo/Amity-Social-Cloud-React-Native-Sample-App](https://github.com/AmityCo/Amity-Social-Cloud-React-Native-Sample-App)**
>
> Contribute to AmityCo/Amity-Social-Cloud-React-Native-Sample-App development by creating an account on GitHub.
