Hi. I copied this whole repo into node_modules/react-native-twilio-video-android folder in my react native app. I copied the contents of https://github.com/blackuy/react-native-twilio-video-webrtc/blob/master/Example/index.ios.js to one of js files, and then updated the component names to the ones from your repo. I also added react-native-twilio-video-android to my project's package.json. When the screen is loaded, and connect button is clicked, I get an error: undefined is not a function (evaluating _this.refs.twilioVideo.connect({ roomName: _this.state.roomName, accessToken: _this.state.token }). I spent a few hours trying to fix this but could not. What could be wrong in my setup? Can you please guide me?
Hi. I copied this whole repo into node_modules/react-native-twilio-video-android folder in my react native app. I copied the contents of https://github.com/blackuy/react-native-twilio-video-webrtc/blob/master/Example/index.ios.js to one of js files, and then updated the component names to the ones from your repo. I also added react-native-twilio-video-android to my project's package.json. When the screen is loaded, and connect button is clicked, I get an error:
undefined is not a function (evaluating _this.refs.twilioVideo.connect({ roomName: _this.state.roomName, accessToken: _this.state.token }). I spent a few hours trying to fix this but could not. What could be wrong in my setup? Can you please guide me?