Using react-native-webrtc with expo

can i use react-native-webrtc ( or any plugin based on it like connectCube , …) in Expo application ?

you have to eject it and jump through some hoops if you are using react-native > 0.59.

I just went through all the hoops to get it to sort of work with a modern project.

1 Like

i already ejected it but still receiving the same problem : null is not an object !

did you follow this?

https://github.com/react-native-webrtc/react-native-webrtc/blob/master/Documentation/AndroidInstallation.md

I updated the docs in my fork to reflect what I had to do to use the more modernly generated gradle files https://github.com/danzeeeman/react-native-webrtc/blob/patch-1/Documentation/AndroidInstallation.md

1 Like