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

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

Hi @ManishDhameja we’re checking this for you.

Thank you,
Amity Support

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

Thank you,
Amity Support

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

Expecting a prompt response by your side

Hey Manish,

You can find code snippets on the doc / chat.
If you have any specific question, please feel free to reach back. :slight_smile:

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


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.