Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49526

Push notification sent but didn't received

$
0
0

@eabdelmonsef wrote:

I tray to send push notification ,I used the code below
var push = new Ionic.Push({
"debug": true,
"onNotification": function (notification) {
console.log('received');
alert('Received push notification!');
},
"pluginConfig": {
"android": {
"senderID":"5293e027",
"iconColor": "#0000FF",
"sound":"true",
"alert":"true",
"dev":"true"

            }
        }
    });

var callback = function (data) {
push.addTokenToUser(user);
user.save();
};
push.register(callback);
and send notification by terminal (ionic push -s)
puchnotification sent but i didn't receive any thing

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49526

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>