Closed rromanchuk closed 11 years ago
Really? That's surprising. Can you show me where in the docs that's specified, or show me some example requests that illustrate the difference? The only docs I could find seem to indicate that the format currently used in the README is correct: https://docs.urbanairship.com/display/DOCS/Server%3A+iOS+Push+API#ServeriOSPushAPI-Sendanotification
After double checking, it looks like the aliases have to be passed in as strings or it fails
Works:
{ aliases: ["1"] }
Fails: (quietly)
{ aliases: [1] }
closing, easy to screw up though...especially when doing something like this {aliases: users.map(&:id) }
You're right, though, this is a potentially mysterious bug to run into. I added a fix to convert all aliases to strings and did a version bump: 92c74597202e318d
:+1:
minor fix, urbanairship is picky about the format of the alias field