Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot read property 'connectionId' of undefined #221

Open
vikasbiz4 opened this issue May 23, 2016 · 0 comments
Open

Cannot read property 'connectionId' of undefined #221

vikasbiz4 opened this issue May 23, 2016 · 0 comments

Comments

@vikasbiz4
Copy link

Hi,
I am developing a mobile application using opentok cordova. I have install opentok cordova plugin in my cordova android 7 ios app. Its working fine till now. When I publish first time every thing works fine. But next time I am getting issue while connecting opentok session.
Below are stack trace
processMessage failed: Error: TypeError: string is not a function cordova.js:1059
processMessage failed: Stack: TypeError: string is not a function
at TBSession.sessionConnected (file:///android_asset/www/opentok.js:698:23)
at TBSession.sessionConnected (file:///android_asset/www/opentok.js:477:59)
at TBSession.eventReceived (file:///android_asset/www/opentok.js:668:36)
at file:///android_asset/www/opentok.js:477:59
at Object.cordova.callbackFromNative (file:///android_asset/www/cordova.js:293:54)
at processMessage (file:///android_asset/www/cordova.js:1054:21)
at Function.androidExec.processMessages (file:///android_asset/www/cordova.js:1091:13)
at pollOnce (file:///android_asset/www/cordova.js:956:17)
at pollOnceFromOnlineEvent (file:///android_asset/www/cordova.js:946:5) cordova.js:1060
processMessage failed: Message: S11 OpenTokPlugin590010248 {"data":{"status":"connected","connection":{"data":"BC19E723-24B2-C3F1-E338-7580C0B916AB","creationTime":"Sun Apr 15 01:51:21 GMT+08:00 48362","connectionId":"8D2E3C14-71C4-46CF-A539-9536BCB58D4B"}},"eventType":"sessionConnected"} cordova.js:1061
JS Lib: session event received -
Object {data: Object, eventType: "connectionCreated"}
opentok.js:281
processMessage failed: Error: TypeError: string is not a function cordova.js:1059
processMessage failed: Stack: TypeError: string is not a function
at TBSession.connectionCreated (file:///android_asset/www/opentok.js:673:18)
at TBSession.connectionCreated (file:///android_asset/www/opentok.js:477:59)
at TBSession.eventReceived (file:///android_asset/www/opentok.js:668:36)
at file:///android_asset/www/opentok.js:477:59
at Object.cordova.callbackFromNative (file:///android_asset/www/cordova.js:293:54)
at processMessage (file:///android_asset/www/cordova.js:1054:21)
at Function.androidExec.processMessages (file:///android_asset/www/cordova.js:1091:13)
at pollOnce (file:///android_asset/www/cordova.js:956:17)
at pollOnceFromOnlineEvent (file:///android_asset/www/cordova.js:946:5)
Please help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant