push notifications getReceipts json "data" is blank

Q: using a snack based on pushnotifications34 - Snack

the notification is sent great (to Android)

I then try to see the receipt using the response-ID but the result is always blank

{“data”:{}}

for instance

curl -H "Content-Type: application/json" -X POST "https://exp.host/--/api/v2/push/getReceipts" -d '{ "ids": ["75fee5be-c24d-44e3-8f8d-e1b4e7c2da0e"] }'

What am I doing wrong?

I don’t think using response Ids will work to that API…you need to use the receipt Ids.

This helped me fix:
“Fetch return blob instead of text after 0.59 RN update”
https://github.com/facebook/react-native/issues/24520

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.