hi , i use open_vidu 2.17.0 in react native
when turn on debug mode chrome , get this error and don’t published me :
Invariant Violation: Calling synchronous methods on native modules is not supported in Chrome.
Consider providing alternative methods to expose this method in debug mode, e.g. by exposing constants ahead-of-time.
at invariant (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=me.panco.app&modulesOnly=false&runModule=true:2418:17)
at MessageQueue.callNativeSyncHook (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=me.panco.app&modulesOnly=false&runModule=true:3052:54)
at Object.nonPromiseMethodWrapper [as peerConnectionInit] (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=me.panco.app&modulesOnly=false&runModule=true:2798:68)
at new RTCPeerConnection (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=me.panco.app&modulesOnly=false&runModule=true:201395:20)
at WebRtcPeerSendonly.WebRtcPeer (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=me.panco.app&modulesOnly=false&runModule=true:196692:17)
at new WebRtcPeerSendonly (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=me.panco.app&modulesOnly=false&runModule=true:196982:22)
at http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=me.panco.app&modulesOnly=false&runModule=true:195917:30
at tryCallTwo (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=me.panco.app&modulesOnly=false&runModule=true:28586:7)
at doResolve (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=me.panco.app&modulesOnly=false&runModule=true:28750:15)
at new Promise (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=me.panco.app&modulesOnly=false&runModule=true:28609:5)
at StreamRN.Stream.initWebRtcPeerSend (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=me.panco.app&modulesOnly=false&runModule=true:195825:14)
at http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=me.panco.app&modulesOnly=false&runModule=true:195516:17
at tryCallTwo (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=me.panco.app&modulesOnly=false&runModule=true:28586:7)
at doResolve (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=me.panco.app&modulesOnly=false&runModule=true:28750:15)
at new Promise (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=me.panco.app&modulesOnly=false&runModule=true:28609:5)
at StreamRN.Stream.publish (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=me.panco.app&modulesOnly=false&runModule=true:195514:14)
Is this happening with official RN tutorial? Have you tested it?
yes, i did .when i turn on debug mode chorme occure this event(don’t published) ,
Once the turn off debug mode of chorme every things correct work.
i need that see events in debug mode for develop.
It looks like a React bug