Open omkarv opened 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)
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.
unregister
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)