Hi All
Just wanted to raise what recently caught me out. It could be a bug in api or error in api documentation but since I'm not on a paid level of platform I cant raise a ticket.
Issue is to do with sending a push notification. According to the info at https://docs.urbanairship.com/api/ua/#push-object, you can send an array of tags
"tag": [
"sports",
"entertainment"
]
In my case I was only wanting to notify devices with a single tag so the array only had one item but it was still an array with a single string containing a valid tag. The api call accepts my call and responds with a 202 but no notifications ever arrived and if I queried the push_id I could see that no messages were sent. If I made the same call but used a single tag sent as a string instead of a string inside an array then the API responds with 202 and the notification is sent.
Is the api doc wrong?
Is the api got a bug?
Or have I misread something? ;)
Comments
8 comments