3

I've been researching how I can do App-Chat with twilio-conversations in react native, but I haven't found anything that can help me.

  • Did my answer bring you further in your attempt to integrate `twilio-conversations` in your React Native app? – yvesonline Feb 20 '21 at 12:56

2 Answers2

1

Twilio developer evangelist here.

I have been told by the Conversations team that the Conversations JS SDK has been tested with React Native and is the recommended approach for using Conversations in React Native.

This is the approach taken in the Twilio Frontline app.

philnash
  • 70,667
  • 10
  • 60
  • 88
0

Twilio usually provides both JavaScript and IOS/Android SDKs. But when talking React Native there is no direct support from Twilio as far as I know. You can try to use the JavaScript SDK (npm) but I doubt you'll be successful as it probably relies on the browser API. Your best bet is probably to have a look at the TwilioChatJsReactNative example which uses twilio-chat (it's linked on the Demo / Reference Client Applications section of the Programmable Chat Client SDKs). That has the downside that Programmable Chat support will run out mid-2022.

yvesonline
  • 4,609
  • 2
  • 21
  • 32