otelnov / pushNews

Ionic app with push notifications, created while writing this article
http://airpa.ir/1FeFM9y
MIT License
37 stars 23 forks source link

TypeError: Cannot read property 'pushNotification' of undefined #1

Open phanthinh opened 9 years ago

phanthinh commented 9 years ago

@otelnov

I'm saw this issue for source...

TypeError: Cannot read property 'pushNotification' of undefined at Object.register (http://domain.com/lib/ngCordova/dist/ng-cordova.js:5701:24) at http://domain.com/js/app.js:233:18 at http://domain.com/lib/ionic/js/ionic.bundle.js:44815:19 at Object.ionic.Platform.ready (http://domain.com/lib/ionic/js/ionic.bundle.js:2120:9) at Object.IonicModule.constant.provider.$get.self.ready (http://domain.com/lib/ionic/js/ionic.bundle.js:44813:26) at Scope.$scope.pushRegister (http://domain.com/js/app.js:213:18) at http://domain.com/js/app.js:207:14 at processQueue (http://domain.com/lib/ionic/js/ionic.bundle.js:21888:27) at http://domain.com/lib/ionic/js/ionic.bundle.js:21904:27 at Scope.$get.Scope.$eval (http://domain.com/lib/ionic/js/ionic.bundle.js:23100:28)

filipecrosk commented 8 years ago

Hi @phanthinh did you solved it? It only appears on the browser during your tests, right? It worked for me on iPhone but still appears on my browser.