Hi I have set up push notification for windows phone, all has been working perfectly on the emulator, but when i send out a msg to the app once downloaded from the store nothing happens. Under the report sections delivery status I can see "precondition failed: 1" and "success: 1". I am using cordova 3.5. What would this be referring to? I assume the device has been registered for push and the emulator is the second device?

asked 06 Jun '14, 08:36
shadow476z's gravatar image

shadow476z
112

Hello,

Generally, this error might appear in case you haven't enabled Toast notifications in your application.

However, since there is a "Success" report as well, I believe everything is correct with Toast notifications, so most probably "Precondition failed" error indicates that push wasn't delivered because the device was in disconnected state. Please see the Microsoft documentation for details.

permanent link
answered 10 Jun '14, 10:57
Dmitry%20%20Dyudeev's gravatar image

Dmitry Dyudeev
3.7k7

edited 10 Jun '14, 11:03

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:

×190
×26
×6

question asked: 06 Jun '14, 08:36

question was seen: 1,087 times

last updated: 10 Jun '14, 11:03