Hi Joshua,
thanks for testing. I did a print of the json sent to Apple from our api, and it looks like this:
{“aps”:{“alert”:“Hello World”,“badge”:0,“sound”:“default”},“custom”:{“boolean”:true,“number”:123.456,“string”:“Custom data test”,“array”:[true,false,0,1,"",“This is a test.”],“table”:{“x”:1,“y”:2}}}
I can see that our custom is outside the aps, which might be why it’s acting weird. I’ll deploy a server update later which changes the payload to this:
{“aps”:{“alert”:“Hello World”,“custom”:{“boolean”:true,“number”:123.456,“string”:“Custom data test”,“array”:[true,false,0,1,"",“This is a test.”],“table”:{“x”:1,“y”:2}},“sound”:“notification.wav”}}
…and see if that helps. Thanks for pointing me to the sample app, I did not know it contained the payload to send. Will post an update here when I’ve tested.