ios - Pushwoosh Device not receiving notification -


im trying send notification ios device using 'devices' parameter on api object per documentation. below json works if omit 'devices' parameter go every device has app installed. want go device id have specified. im getting device id using [[uidevice currentdevice] identifierforvendor].uuidstring] in objective c. device id doesnt work... massively appreciated!

{     "request": {         "application": "xxxxx-xxxxx",         "auth": "xxxxxxxxxxxxxxxxxxxxxxxx",         "notifications": [             {                 "send_date": "now",                 "content": "this test",                 "wp_type": "toast",                 "devices": [                     "xxxx-xxxx-xxxx-xxxx-xxxxxxx"                 ],                 "wp_count": 3,                 "data": {                     "custom": "json data"                 },                 "link": "http://pushwoosh.com/"             }         ]     } } 

the request looks correct. looks device uid not match device uid in system. check push token instead of device uid?


Comments

Popular posts from this blog

how to proxy from https to http with lighttpd -

android - Automated my builds -

python - Flask migration error -