transport.on('connect have call back which crashes my react native application when i execute it what would be the problem?
ndotie opened this issue · comments
ndotie commented
producerTransport.on(
'connect',
async function ({dtlsParameters}, callback, errback) {
await Request('connectTransport', {
dtlsParameters,
transport_id: data.id,
})
.then(data => {
callback();//crashes the application when called,
})
.catch(errback);
},
);
Iñaki Baz Castillo commented
Questions in the forum, please