getPushPlugin error when set dev_push to false


#1

Hi all,

I’m following the Push guide and everything is ok with limited push. When I try the full setup (when I change dev_push to false), I see this error on the console: self._getPushPlugin(…) is undefined

Am I missing something?

Thanks


#3

This is because you cant do real push in the web session. Change the dev_push to true then run the app on a real device! dev_push true is only for a ionic serve development session.


#4
ionic plugin rm phonegap-plugin-push
ionic plugin add phonegap-plugin-push --variable SENDER_ID="XXXXXXX"

2015-05-25, phonegap-plugin-push 1.6.4
You may need to install new android API.