Okay people. This entire process changed and now suddenly errors.
First of all this page now says to install the phonegappush plugin. Before it said to create a new project with the push template. (i.e. ionic start project_name push). Have a look at it now. It is different. You know when you release a new version of ionic one thing you should be doing is to test push notifications since many thousands of apps will no longer work anymore and developers will be very angry with you for not thinking it through. Okay perhaps you did test it. Fine. Make sure you update the intructions for how to register for push when the app is loaded or when the user logs in or whenever you want us to be doing this now. See the above link step #5. WTF is that? It does nothing when the app is loaded. I get nothing in the console log but the annoying
"TypeError: Cannot read property ‘pushNotification’ of undefined
This page indicates that the push plugin you were using is now deprecated and the instructions above say you are moving forward with the phonegappush plugin instead. Fine but the instructions on this page are now not complete. You have the setup of the keys on the google developers console and the apple keys of which I do not need any help and I am very well aware of how this works. It was working before you decided to change things. Now that it doesn’t work anymore (I stupidly decided to let MacOSX update Xcode to 7.2 and now I am screwed). I guess I have to watit around for a fix at ionic or the instructions page to be updated. Of course you will not do this because you will disagree with me even though I am right. I am very sorry to speak like this but it is very sloppy work on your part to do stuff like this. It has been in GA since early last year. And you change push notifications frequently. They don’t need to be changed, but you change them. All we want is to just see messages pop up on both iOS and Android and done. There is no need to get fancy with this. Why do you think it needs to change this often.
Thank you ionic for wasting my time.
Fine whatever. Typically what I do when I ahve problems is to recreate a new project from scratch from the latest instructions.