LetsLunch / lunch

Other
38 stars 3 forks source link

Cannot logout out of application #93

Open omkarv opened 10 years ago

omkarv commented 10 years ago

The following message is displayed in the console after clicking logout: TypeError: Cannot read property 'unregister' of undefined at unregister (http://localhost:9000/scripts/factories/push.js:63:21) at Scope.$scope.logout (http://localhost:9000/scripts/logout.js:8:10)

zzmp commented 10 years ago

This is expected on the browser. The unregister function is not defined unless you go through the login workflow, as it is a mock polyfill for the PushPlugin cordova plugin.