Question: I am trying to extend my app with a push service.
Looking through the web I found several ionic examples, yet have not been able to wrap my head around it.

Here's my goal:

My server should send a push notification about every 3 hours to each individual user to update them on their individual parameters.

Hence, I need a server solution that targets the package to each individual.
On the client side I thought of using

<https://github.com/phonegap/phonegap-plugin-push>

I already obtained apple push certificates but am not sure how to use them...
Any help is welcome!

Answer: 
[$cordovaPushV5](http://ngcordova.com/docs/plugins/pushNotificationsV5/) is the latest version & works perfectly. Get your SENDER\_ID by registering [here](https://developers.google.com/mobile/add)
At first Install following Plugin under your project 

cordova plugin add <https://github.com/phonegap/phonegap-plugin-push>

Download following code from here: <https://drive.google.com/open?id=0B_-b-DfCLwKdREkwZFdYVEhYWXM>

Then merge code in your app.js and after that run your application in iphone and check in console device if you are getting token or not, if device token is showing then move on to next step.

Then you can store device token in database when user login or register.

Then enter your [.pem] file location and pass phrase in [db.class.php]

Then enter device token in [sendIphonenotification.php] file 

Then execute [sendIphonenotification.php] file and check your iphone you will get a notification.

Also, if you face any issue in generating .pem file and passphrase then you can follow this link: [Generate .pem file Used to setup Apple PUSH Notification](https://stackoverflow.com/questions/21250510/generate-pem-file-used-to-setup-apple-push-notification)