Push notification error! Nightmare

Hi It’s a Nightmare
Is too much time I try to make push notification and I hallways have error, I try to follow simple tutorial but I hallwais have error, of for example I can set the token device, now I have this error : Uncaught TypeError: undefined is not a function

If i remove the code behind the error disappear

Replacing ionic bundle min with standard one i found that the error is this


Please help me

I solve!
I don’t know why because I have made this tons of time
on windows I put execution right for everyone and I execute

ionic plugin add phonegap-plugin-push

I don’t know why but now work!

I hope this help

1 Like