11

I am building a react native application using Expo and i need to add audio calling and video calling functionalities, however it seems that i cant use react-native-webrtc (Link here) without ejecting Expo.

My question is there anyway i can add audio and video functionality to my application without ejecting Expo, if so how?

If it is of any help knowing what my stack is, as follows:

Frontend:

  1. React Native
  2. Expo
  3. Redux
  4. SocketIO

Backend

  1. NodeJS
  2. Express
  3. SocketIO
  4. MongoDB

Thank you very much in advance!


Edit

What am looking for is a way to implement it without relaying on any paid services such as Agora or Twilio

Your help is much appreciated, i have checked the expo voting poll for next features and webrtc is there, hopefully they implement it soon. so in the meantime any other approach to solving this is really appreciated.

Thank you!

9
  • Did you check another solutions like Ionic React with Cordova or Progressive Web Apps: ionicframework.com/docs/react/overview
    – Oleg
    Oct 21, 2019 at 19:14
  • Thanks for the response but how exactly will ionic solve my issue?
    – Abdeen
    Oct 21, 2019 at 19:25
  • It's pure web with mobile ux and ui and with what you need for frontend requirements .
    – Oleg
    Oct 21, 2019 at 19:31
  • I guess I'd have to use webrtc in a webview.
    – diogenesgg
    Oct 24, 2019 at 14:52
  • 1
    @Dan no not really, i am still stuck at this. did quite abit of research but in vein. am hoping expo adds webrtc to its API's soon other than that nothing yet. if you come across something please share it! thanks.
    – Abdeen
    Nov 23, 2019 at 15:50

1 Answer 1

3

Now as of SDK 42, Expo added the custom development clients which pretty much allows you to add any native react native library to your project so working with traditional webrtc is now possible.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.