I followed the cloud docs to send push notification.
I sent a notification through postman and got the status en-queued.
I wrote the code following the docs from https://docs.ionic.io/services/push/
$scope.$on(‘cloud:push:notification’, function(event, data) {
var msg = data.message;
alert(msg.title + ': ’ + msg.text);
});
still I didn’t receive any notification I couldn’t even find a sample example for the same.
Can somebody tell me what needs to be done…Also I sent notification through dashboard still no luck