i am using the devices param as the following examples but its sends to all registered devices, please explain why?

"push_notification": {
  "send_date": "now",
  "ignore_user_timezone": true,
  "content": "Itamar Tests push woosh through notifier",
  "devices": [
    "device push token"
  ]
}
asked 09 May '16, 12:51
Itamar%20Bitton's gravatar image

Itamar Bitton
111

edited 10 May '16, 07:29

XXXX's gravatar image

XXXX
2.2k6

Hello,

Could you please try

{
    "request": {
        "application": "APPLICATION_CODE",
        "auth": "API_ACCESS_TOKEN",
        "notifications": [{
            "send_date": "now",
            "ignore_user_timezone": true,
            "content": "Hello world!",
            "devices": "DEVICE_PUSH_TOKEN"
        }]
    }
}

Please let me know about the results!

permanent link
answered 11 May '16, 10:59
Max%20Kuzakov's gravatar image

Max Kuzakov
4165

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:

×444
×326
×52

question asked: 09 May '16, 12:51

question was seen: 714 times

last updated: 11 May '16, 10:59