Implement Push notification in Android Phonegap app

Created UI using Angular and Ionic, and wrapper usign Phonegap, How can I have pushnotification in Android implemented. Is there any effective and accurate library in Phonegap for Pushnotification Implemented.

Already using https://github.com/phonegap-build/PushPlugin, but getting some issues, like push notififcation not received, some time all notification coming at once.

I was having the same problem lately, using Ionic and Cordova (not Phonegap, but should work the same). I ended up using this library for local push notifications https://github.com/Wizcorp/phonegap-plugin-localNotifications

They worked pretty well except the PN would not start the app on Android, but I opened a pull request with a fix for that. If you encounter the same problem, you might also use my fork of this plugin which has this fix already included.

You should be using ngCordova's Push Plugin for this.

From the docs:

Allows your application to receive push notifications. To receive notifications in your controllers or services, listen for pushNotificationReceived event.

As Push Notification is a native feature, so to integrate Push in PhoneGap Android application you have to make a plugin that will communicate with Android Native code.

You can go through with Sample application available on Git Hub. Please also follow the necessary steps require for it mentioned in ReadME file.