Please provide the following:
- SDK Version: 36
- Platforms(Android/iOS):
Hi,
using Push Notifications with Expo (expo-server-sdk-node), how do I get the device that has the error?
When creating Push Tickets I get an array of ids without any info about device:
{
"data": [
{ "status": "ok", "id": "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX" },
{ "status": "ok", "id": "YYYYYYYY-YYYY-YYYY-YYYY-YYYYYYYYYYYY" },
{ "status": "ok", "id": "ZZZZZZZZ-ZZZZ-ZZZZ-ZZZZ-ZZZZZZZZZZZZ" },
{ "status": "ok", "id": "AAAAAAAA-AAAA-AAAA-AAAA-AAAAAAAAAAAA" }
]
}
And when I request the receipts I get this back:
https://exp.host/--/api/v2/push/getReceipts
{
"data": {
"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX": {
"status": "error",
"message": "The recipient device is not registered with FCM.",
"details": {
"fault": "developer",
"error": "DeviceNotRegistered",
"sentAt": 1587895296
},
"__debug": {}
}
}
}
How am I supposed to know which device has the error?