how do you build a pass for Wallet?

Generated on 7/31/2024

1 search

To build a pass for Wallet, you need to follow these steps:

  1. Create a PKPass Bundle: This bundle includes a pass JSON file, which contains the bulk of the pass content, along with an icon, logo, and background image.

  2. Include Required Assets: For the new ticketing updates, you should also include an artwork asset and a secondary logo. The artwork asset ensures compatibility with previous OS versions, while the background asset provides a consistent background across all OS versions.

  3. Add Semantic Tags: The pass JSON must provide a set of required semantically tagged information. Semantic tags are machine-readable metadata that help the system better understand the data provided in the pass.

  4. Specify Preferred Style: In the pass JSON, specify whether you want passes rendered with the new style by adding the preferred style.

  5. Sign with NFC Entitlement: Ensure your pass is signed with the NFC entitlement to allow ticket holders to use their passes for contactless entry.

  6. Live Activity Integration: With the changes to the pass JSON, your pass will also start a live activity on iPhone and Apple Watch when the pass is deemed most relevant. This live activity will display primary seating and entry information directly on the lock screen or smart stack.

For more detailed information, you can refer to the session What’s new in Wallet and Apple Pay.

Relevant Sessions