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!

Abdeen
  • 922
  • 9
  • 30
  • Did you check another solutions like Ionic React with Cordova or Progressive Web Apps: https://ionicframework.com/docs/react/overview – Oleg Oct 21 '19 at 19:14
  • Thanks for the response but how exactly will ionic solve my issue? – Abdeen Oct 21 '19 at 19:25
  • It's pure web with mobile ux and ui and with what you need for frontend requirements . – Oleg Oct 21 '19 at 19:31
  • I guess I'd have to use webrtc in a webview. – diogenesgg Oct 24 '19 at 14:52
  • Thanks @diogenesgg for the response but can you elaborate on what you mean exactly – Abdeen Oct 24 '19 at 15:06
  • Were you able to find any solution for this? – Danyal Nov 23 '19 at 11:30
  • 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 '19 at 15:50
  • Did you find any solution yet? I need to integrate video calling feature with my expo project. – Divyani Singh Jan 19 '21 at 04:48
  • Hello @DivyaniSingh sadly no, i did not find a way to get around this. when i do i will be sure to update this. Let me know if you find something too please – Abdeen Jan 19 '21 at 12:58

1 Answers1

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.

Abdeen
  • 922
  • 9
  • 30