I have integrated react-native-webrtc
library to my project, after the implementation, it was working on iOS, however it seems to be real frustration on android as it is crashing even after careful step by step approach of installation. It is very confusing in the repository in git. I hope I can find why it is crashing even after following steps, the error was like this :
https://android.develop-bugs.com/article/11750139/No+implementation+found+for+void+org.webrtc.PeerConnectionFactory.initializeAndroidGlobals
React Native : 0.59
react-native-webrtc : 1.67.1
1 Like
Yes, everything except 5 b) and 5 c) What was I doing wrong!? I followed all the steps however, it runs correctly on emulator, but it is crashing immediately on app launch!!
1 Like
This issue actual for next version of packages as well
- RN: 0.62.2
- react-native-webrct: 1.75.3
Also if you use proguard make sure to add this.
-keep class org.webrtc.** { *; }