ConnectSDK / Connect-SDK-Cordova-Plugin

Cordova/PhoneGap plugin for Connect SDK
Apache License 2.0
69 stars 46 forks source link

webAppSession disconnect not fired after web app joined #15

Open steve-noel opened 9 years ago

steve-noel commented 9 years ago

this.getDevice().getWebAppLauncher().joinWebApp(this.getWebAppId()).success(function(websession){ this.setAppSession(websession);
websession.on("disconnect",this.cleanUpSession,this); },this).error(function(err){ console.log(err.message); },this);

When I try to add a callback on the disconnect event on the new webAppSession returned from the joinWebApp function it never gets fired.