Open steve-noel opened 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.
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.