Tuesday, February 9, 2016

push plugin V5, ngCordova, Ionic Framework usage and example

Phonegap Push Plugin, ngCordova pushV5, Ionic Framework

Example and usage

Currently there are two different Cordova PushPlugin's available, one is now deprecated.

Both have support in ngCordova, one is supported as $cordovaPush (the depreceated one) and the new one is supported as $cordovaPushV5 (the new one). The documentation of the new push_v5 ngCordova is very limited and you need to go into quite some details in order to get it working. As well you need probably to work with the dev-next version of ngCordova (or browse the related tags in github).