0

When I try to use Twilio Conversations in React Native I get errors.

enter image description here

enter image description here

philnash
  • 70,667
  • 10
  • 60
  • 88
TS E
  • 5
  • 1
  • I'm told that the Conversations SDK team is aware that things aren't working in React Native, but this has been fixed for version 2 of the SDK. There is a [release candidate available](https://www.npmjs.com/package/@twilio/conversations/v/2.0.0-rc.0) now that you can test with, though there will be more changes before 2.0 reaches full release. – philnash Oct 03 '21 at 23:35

1 Answers1

0

Twilio developer evangelist here.

It looks like you are missing the "events" module. Node.js as a platform has "events" natively, but within the React Native platform I think you have to install it.

Run npm install events or yarn add events and try again.

philnash
  • 70,667
  • 10
  • 60
  • 88