snuggilkim / passkit

Automatically exported from code.google.com/p/passkit
0 stars 0 forks source link

Field "Notification to display when data changes" is not used #7

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Enter text to Field "Notification to display when data changes"
2. Update pass
3. Send Push

What is the expected output? What do you see instead?
expected : The text what I input to field "Notification to display when data 
changes" is shown on iPhone.
instead : I see the text "[Pass type] changed".

What version of the product are you using? On what operating system?
OSX 10.8 / Chrome

Please provide any additional information below.

Original issue reported on code.google.com by AKAZAWA....@gmail.com on 5 Feb 2013 at 12:29

Attachments:

GoogleCodeExporter commented 8 years ago
In order for a change message to display, it must reference the changed value 
by including the string %@.

For you pass above, your change message is '棚番号が変更されました'. 
 Including %@ in the change message will enable it to show.

This is not a PassKit restriction, it has been put in place by Apple to prevent 
abuse of Passbook's push capability. To trigger the change message, the 
following 2 things need to be in place:

1. The change message must be set and must contain the %@ string
2. The data field to which the message relates mush have changed

Try changing your message to something like 'The shelf number is now %@' and 
you should find that it works as expected.

Original comment by n...@passkit.com on 5 Feb 2013 at 1:19