Ionic Push IOS 10 - Problem


#1

Hi, my app stopped receive push notification with IOS 10.
I´m using the Ionic Framework API to check the status of the push messages.
I have a working example (from a previous version), and the second one that is not working.

Here is an example of a working message and the second that is not.
I made this example using API “List” and “Message” to get this info.

In the APP I Get “Push Plugin register success”

Example 1 THIS WORKS:
{
“created”: “2016-12-07T15:18:03.543894+00:00”,
“state”: “enqueued”,
“uuid”: “f92504a8-f4d2-498e-a7ce-954ca77b991a”,
“config”:
{
“notification”:
{
“android”:
{
“data”:
{
“notId”: 124
}
},
“payload”:
{
“id_chat”: “15”
},
“message”: “Mensaje de Diego, Pila: pruebaaaaaaaaaa”
},
“tokens”:
[
“4036b0a79830cbda5eaa4fe5f025a5576d8bedd7ac73266e4697ff06f5dee754”
],
“profile”: “prod”
},
“status”: “locked”,
“app_id”: “f2c27f6a”
}

Messages:

{
“meta”:
{
“status”: 200,
“version”: “2.0.0-beta.0”,
“request_id”: “cf39722c-47e4-4ba0-9d8e-e132f3a303e2”
},
“data”:
[
{
“user_id”: null,
“status”: “sent”,
“uuid”: “e0428250-51cb-44f0-914a-cf641668512d”,
“error”: null,
“created”: “2016-12-07T15:18:03.739238+00:00”,
“notification”: “f92504a8-f4d2-498e-a7ce-954ca77b991a”,
“token”:
{
“type”: “ios”,
“invalidated”: null,
“created”: “2016-12-07T15:18:03.716832+00:00”,
“id”: “9764bbd6968f4dbbbf22f36d0982b0e3”,
“token”: “4036b0a79830cbda5eaa4fe5f025a5576d8bedd7ac73266e4697ff06f5dee754”,
“app_id”: “f2c27f6a”,
“valid”: true
}
}
]
}

Example 2 NOT WORKING. YOU CAN SEE MESSAGE PART EMPTY :
{
“created”: “2016-12-07T15:16:03.567840+00:00”,
“state”: “enqueued”,
“uuid”: “1293dc3a-ed6a-4bc1-b888-9ca1f0d614eb”,
“config”:
{
“notification”:
{
“android”:
{
“data”:
{
“notId”: 124
}
},
“payload”:
{
“id_chat”: “15”
},
“message”: “Mensaje de Ezequiel, Naftali: Sghdche”
},
“tokens”:
[
“2083fb1b652ef7ac592c55dd36e4b13b01cbcca6b5d30797a892101ab434aa2d”
],
“profile”: “prod”
},
“status”: “locked”,
“app_id”: “f2c27f6a”
}

Messages:
{
“meta”:
{
“status”: 200,
“version”: “2.0.0-beta.0”,
“request_id”: “358da6da-9323-4853-af68-40b0ba6e55f2”
},
“data”:
[
]
}


#2

Did you figure this out? Ionic push working inconsistently (iOS)