Closed rassemdev closed 4 years ago
I have excluded those packages while implementing jitsi-meet sdk, now my other pages are working fine, except the video conference page where the jitsi-meet will run.
implementation ('org.jitsi.react:jitsi-meet-sdk:2.+') {
exclude group: 'com.facebook',module:'hermes'
exclude group: 'com.facebook.react',module:'react-native-vector-icons'
exclude group: 'com.facebook.react',module:'react-native-community-async-storage'
exclude group: 'com.facebook.react',module:'react-native-webview'
exclude group: 'com.facebook.react',module:'react-native-community_netinfo'
exclude group: 'com.facebook.react',module:'react-native-linear-gradient'
transitive = true
}
Now i'm getting this error, (it is showing after the app crashes)
com.facebook.react.bridge.NativeArgumentsParseException: RNCNetInfo.getCurrentState got 2 arguments, expected 3
any ideas!
just update NetInfo with 5.00 version from the community.
@anshumanburman, i already solved it, but thanks for your time, after excluding them from build.gradle, i downgraded my netindo to 4.6^. That solved my problem
The problem is with the version of '@react-native-community/netinfo' library. I built the jitsi-meet sdk after upgrading the library to v5.0.0, which is what i use in my project too.
I'm developing an app using RN Cli. My RN version is 0.62.2. When i'm trying to implement your library using latest version, i'm getting this error message
RNCNetinfo.getCurrentState got 3 arguements, expected 2
. I know this error is showing in NetInfo library, but before implementing your library it was working fine. Only occurring when i'm including your library. If i exclude the NetInfo code from my component jitsi meet started working. But I need both of them in my application. Can anyone point me out what i missed! Note: my minSdkVersion is 21.Note: my minSdkVersion is 21. and my dependencies:
One of my component: