On adding PushNotification plugin to my cordova project (i.e. cordova plugin add https://github.com/phonegap-build/PushPlugin.git) is throwing error. I read that there are some issues with plugin. So how can I implement the push notifications with cordova. I found this link https://www.npmjs.com/package/cordova-plugin-pushnotification-parsepushnotification But there is no method to trigger on notification received. How to implement it.
Have a look at Telerik Push Notifications Plugin, it is based on the Phonegap Push Plugin.You can find the documentation here.
EDIT
Since you want to use the cordova plugin itself, you can try this workaround install a previous version of the same plugin and check whether its working for you
for that you can navigate to this link,download the source and then istall it locally via the command
cordova plugin add *Location of the Locally downloaded plugin*