$ionicPush notificationReceived event

Hi everyone!

There are anyway to fire event when i receive a notification??

My code is something like this:

$ionicPlatform.ready(function() {
“debug”: true,
“onNotification”: function(notification) {
var payload = notification.payload;
console.log(notification, payload);
“onRegister”: function(data) {


and i need to find some way to make something just after notification is received.

Actually im only capable to catch the click with the “onNotification” method…

Some help?? Thank you :slight_smile: