Hello. I tried to send notifications using Remote API /createMessage. When I send notifications to all registred devices there are no problems, but when I set a list of recipients nobody receives notifications.

Can somebody help me, please? Many thanks in advance.

asked 17 Oct '16, 18:06
pietrolagrotta's gravatar image

pietrolagrotta
112

Please note that we have edited your post for security reasons since you have shown your application code and api token.

Your JSON query, and provided push token is actually valid.

Could you please contact us at help@pushwoosh.com for more timely responses and more detailed analysis?

Regards, Nikita.

permanent link
answered 20 Oct '16, 11:00
novchinnikov's gravatar image

novchinnikov
2015

Hello!

Could you please provide your /createMessage request examples, so I could analyse the issue with more details?

Most likely there is a problem with query syntax.

Regards, Nikita.

permanent link
answered 20 Oct '16, 04:56
novchinnikov's gravatar image

novchinnikov
2015

Hello Nikita. This is the request that i send. I've selected just one device (ios) and obviously the device receives nothing.

{ "request": { "application": "APP_CODE", "auth": "API_TOKEN", "notifications": [{ "send_date": "now", "ignore_user_timezone": false, "content": { "en": "Ci sono 9 notizie pubblicate sui giornali", "it": "Ci sono 9 notizie pubblicate sui giornali" }, "ios_badges": "+1", "android_badges": "+1", "android_icon": "pw_notification", "android_ibc": "#A6B61A", "data": { "idNotification": 0, "idContent": 0, "type": 5 }, "ios_root_params": { "aps": { "content-available": "1" } }, "devices": ["push-token"] }] } }

permanent link
answered 20 Oct '16, 10:45
pietrolagrotta's gravatar image

pietrolagrotta
112

edited 20 Oct '16, 10:51

Alex%20Spotar's gravatar image

Alex Spotar
3.6k6

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×120
×52
×33
×3

question asked: 17 Oct '16, 18:06

question was seen: 741 times

last updated: 20 Oct '16, 11:00