If I've my app closed and I send a push notification like this:
{
"alert" : "Hello, world!",
"sound" : "default"
}
My app receives push notification correctly. But if I send this:
{
"aps" : {
"alert" : "Hello, world!",
"sound" : "default"
}
}
My app never show the notification.
If my app is opened I received this last notification correctly in delegate didReceiveRemoteNotification userInfo: [NSObject : AnyObject]
Why iOS 8 is not parsing this last notification and showing it like a notification?
Aucun commentaire:
Enregistrer un commentaire