cordova-plugin-opentok icon indicating copy to clipboard operation
cordova-plugin-opentok copied to clipboard

iOS ConnectCompletionCallback not triggered

Open SchemeSonic opened this issue 8 years ago • 3 comments

Hello everyone, currently I am trying to run below code on cordova iOS(8.2) project. When I check the javascript console, there is no console output. However when I check xcode output it says "Session did not connect, error code=1006". Do you have any idea why the callback function is not triggered on session.connect method ??

`var session = OT.initSession(apiKey, sessionId);

session.connect(token, function (error) { if(error){ console.log('Session connection failed'); } else{ console.log('Connected to session'); } });`

SchemeSonic avatar Jun 23 '16 07:06 SchemeSonic

facing the same issue. Any success fixing it?

sulymkaa avatar Apr 03 '18 16:04 sulymkaa

Facing the same issue. Can anyone help?

yydad117 avatar Apr 06 '18 04:04 yydad117

check readme file, this plugin not supported any more, here is the new one https://gitter.im/songz/cordova-plugin-opentok?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge

sulymkaa avatar Apr 06 '18 12:04 sulymkaa