Start a conversation

Sending a push notification to a single pass

Prerequisites

To update a single pass, make sure that the field you want to update is personalised or contains an additional property placeholder. This can either be done by ticking the checkbox "Value is provided on pass creation" at the field or creating an additional property and using the placeholder as the fields value.

Assuming you want to update a field on the front of the pass, the field should be configured like this:

The important thing here is that the field is personalised and a change message is shown. If the field is not personalised all passes will have the same value for this field. If the change message is empty, the update of the pass will happen without triggering a push notification.

Updating the pass

To update a single pass, go to Wallet passes --> Created passes in the menu of the Passcreator application. You'll see a list of passes that have been created. Search for the pass you want to update and click on the pencil icon to edit the personalised values of the pass.

You'll see the form to update the personalised values of the pass. Enter the new value that you want to push to all devices that have stored the pass.

The push notification itself always consists of the change message and the field value.

In the example above the default value of the field is 63, the change message is "Your credit balance is now %@". The placeholder %@ will be replaced with the new field value.
This means if you enter 68 when updating the pass, the user will see a push notification that reads "Your credit balance is now 68". A push notification will only be shown if the value actually has changed.

Click on "Update and send push notification" after you've specified the new value. All devices that have saved the pass will receive a push notification if they haven't disabled them actively. The push notification in this case looks like this:

Choose files or drag and drop files
Was this article helpful?
Yes
No

Comments