window.plugins.PushNotification undefined fix
Thread is closed for posting
Posted 26 Nov 2013
Link to this post
So I was breaking my head over this yesterday. I always got the undefined error and couldn't seem to fix this on iOS.
Though this morning I was like: "What if I rebuild the entire app, download it, add it to itunes and load it again?".. And voila, it worked!
So the whole three finger to update thing doesn't always work. Would've been nice to know that, haha.
Also, Cordova should get its shit together with its 'window.plugins is deprecated', because it's really really confusing, because window.plugins.PushNotification works just fine