Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upReact Native support (feature request) #906
Comments
This comment has been minimized.
This comment has been minimized.
|
Each platform would have to support WebRTC. You can just throw in webtorrent if it does. |
This comment has been minimized.
This comment has been minimized.
|
You can try using the react native webrtc module and let us know how it does! |
This comment has been minimized.
This comment has been minimized.
|
Cool, I'll try that. Will report as soon as I'v had the time to check it out. |
This comment has been minimized.
This comment has been minimized.
|
Ok, so I have at least figured one of the problems, So I added in removed and added lines until I was left only with:
which threw Looking in the So it seems that when react is trying to My guess is that one or several of the dependencies of |
This comment has been minimized.
This comment has been minimized.
|
Oh you webtorrent is a node project, you have to use browserify or the javascript-only package (webtorrent.min.js) to use it in a non-node environment. |
This comment has been minimized.
This comment has been minimized.
|
Ah, sorry. Should have realised. Thanks! |
This comment has been minimized.
This comment has been minimized.
|
@sigurdsvela can you give me a example on how to use webtorrent with react native. What steps you took. |
Has there been any thought to react native support?
I'm fairly new to it, so I don't really know what's required to make it work, or how high effort it is,
but it would be great.