You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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');
}
});`
The text was updated successfully, but these errors were encountered:
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');
}
});`
The text was updated successfully, but these errors were encountered: