In the remote API, what is the difference between the devices field for createMessage and the hwid used for registering a device?

asked 06 Nov '14, 18:34
perldreamer's gravatar image

perldreamer
111

The "devices" parameter of the /createMessage request should contain device push tokens that you receive after successfully registering a device, not it's hwid's.

For targeting purposes we strongly recommend using Tags instead of raw push tokens, because for instance Android tokens tend to expire from time to time, making this method not reliable for sending messages to specific devices.

permanent link
answered 22 Nov '14, 14:59
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:

×83
×38
×15

question asked: 06 Nov '14, 18:34

question was seen: 941 times

last updated: 22 Nov '14, 14:59