Wondering if some of you had a problem with this. I am using full push notifications in Ionic with the phonegap-plugin-push.
Testing on Android when my app is closed/background my notification displays flawlessly but when I am using the app and I send a notification nothing is shown
You can use ionic popup to show notification. Like that
"onNotification": function(notification) {
var alertPopup = $ionicPopup.alert({
title: “Notification”,
template: notification.text,
buttons: [
{
text: ‘OK’,
}]
});