Comments (15)
Ah, we failed to include prop-types as a dependency. That should be an easy fix. In the meantime does it work if you add prop-types to your package.json?
from react-native-twilio-video-webrtc.
installed npm install --save prop-types this but having same issue.
from react-native-twilio-video-webrtc.
@kapilkarda You are using version 1.0.1
? Can you try master using git ?
from react-native-twilio-video-webrtc.
Hello @bilby91 , thanks for your response, i tried with master that error was remove now but their is new error. please check the snapshot
from react-native-twilio-video-webrtc.
Hello @bilby91 @slycoder do you have any solution for this ?
from react-native-twilio-video-webrtc.
is their any help ?
from react-native-twilio-video-webrtc.
Did you re-run react-native link after updating?
from react-native-twilio-video-webrtc.
And can you update your demo app repo? Thanks!
from react-native-twilio-video-webrtc.
You cannot import Proptypes from React anymore. install prop-types from npm.
Then replace the import to use it.
import PropsType prop-types
from react-native-twilio-video-webrtc.
Adding on the above above answer a little bit:
This library hasn't been updated since PropTypes was removed from React Native and moved into its own library.
So you'll have to npm install prop-types
And then in TwilioVideo.js change this:
import React, { Component, PropTypes } from 'react'
import {
NativeModules,
NativeEventEmitter,
View,
} from 'react-native';
to this:
import React, { Component } from 'react'
import {
NativeModules,
NativeEventEmitter,
View,
} from 'react-native';
import { PropTypes } from 'prop-types'
This is an ugly way of implementing this fix, but I'm not sure if this library is currently being maintained, so it'll have to work for now.
from react-native-twilio-video-webrtc.
@jmknoll I'm doing what I can with maintaining, not having a lot of time lately and not using the library at the moment. Can you work on a PR to fix this ? I'll review and merge.
Thanks!
from react-native-twilio-video-webrtc.
@jmknoll I believe the changes you are suggesting are already on master. There have been a huge number of changes landed on master since the previous NPM release, so I'd highly recommend pulling master into your project.
from react-native-twilio-video-webrtc.
@slycoder Thanks for the heads up. It looks like this issue at least is fixed in master. From the looks of it, this fixes a lot of the other open issues on here as well.
Maybe worth adding a line at the top of the docs advising people to install from github rather than npm as a temporary patch until the next release goes out?
from react-native-twilio-video-webrtc.
Either that or pushing a new version to npm. @bilby91 what do you think about pushing out a new version?
from react-native-twilio-video-webrtc.
(I'm not actually sure who has access to push to npm)
from react-native-twilio-video-webrtc.
Related Issues (20)
- Error : No camera is supported on this device HOT 2
- Cannot the see the video of each others, when joined video call with video off HOT 1
- onRoomParticipantDidConnect not called in ios when joining the video call HOT 3
- SCREN SHARE | React native
- Screen sharing on Android results in multiple video tracks being published.
- Back-facing camera using 0.5x zoom on Android
- Command PhaseScriptExecution failed with a nonzero exit code XCode 14.2
- onParticipantVideo Enable/disable not not being consistent
- Playing music paused on live streaming begins HOT 2
- Twilio in Expo App HOT 1
- Do i need prebuild to use this package? HOT 3
- Video attach/detach not worked properly at browser side on video on/off from mobile(android) app side respectively multiple time.
- Support Picture in Picture
- Black screen is rendering for participant view HOT 3
- Severe latency in outbound video stream on some devices
- show error Task :react-native-twilio-video-webrtc:extractDebugAnnotations FAILED when make debug apk HOT 1
- [Question] How to intergrate with the Twilio JS Logger
- Audio output not coming on either of the device in android version 9
- Twilio react-native-twilio-video-webrtc vs twilio official
- Screen sharing not working
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-twilio-video-webrtc.