this is for others who will face the same problem. I believe that you are talking about making the icon visible with the updated icon number that you received from the server.
, init Push,
var push = PushNotification.init({
android: {
senderID: senderID,
icon: 'pushicon',
sound: "true",
iconColor: "#ED8B00"
},
browser: {
pushServiceURL: 'url'
},
ios: {
alert: "true",
**badge: "true",**
sound: "true"
},
windows: {}
});
{ iPhone Android}
.
ios, updatd, .
ios, , android ;
{
"aps": {
"alert": {
"title": "Received",
"body": "You have received a message from Kens"
},
"badge": 66
},
"received_id": "9223",
"pn_type": "RECEIVED"
}
, ( ).
, .