React Native SDK
New We have some exciting news! We have shipped a React Native SDK 😄.
Prior to this release, getting TalkJS running in React Native applications required developers to perform multiple tasks like creating an HTML file for the webview, passing parameters from the app to the JavaScript running in the webview and sometimes even adding handlers so the code in the webview could call back to the app.
With the React Native SDK you can get TalkJS running in your React Native application with a few lines of code:
<TalkRn.Session appId='YOUR_APP_ID' me={me}> <TalkRn.Chatbox conversationBuilder={conversationBuilder} /> </TalkRn.Session>
The new SDK makes it easier to use TalkJS in React Native applications by providing React Native Components that will feel natural to anyone using React Native.
Developers will now write significantly less code, save time and also make their code less error-prone. Additionally by using the SDK developers are guaranteed of backwards compatibility, meaning their code will always run even as TalkJS evolves.
So go ahead and check out our React Native Getting Started Guide.
We can't wait to see the cool stuff you are building!