avivais / phonegap-parse-plugin

Phonegap 3.0.0 plugin for Parse.com push service
195 stars 315 forks source link

Events on notification received #30

Closed billmn closed 4 years ago

billmn commented 9 years ago

Hi guys, I see there isn't a way to listen on notification's received events.

With this we can apply some custom action like open a specific page when a user tap on notification.

Something like this:

pushPlugin.on('received', function(notification)
{
     // ...
});

Thoughts? I think this is a very important feature.

billmn commented 9 years ago

Related issue: https://github.com/avivais/phonegap-parse-plugin/issues/8