Passes are a digital representation of information that might otherwise be printed on small pieces of paper or plastic. They let users take an action in the physical world, in the same way as boarding passes, membership cards, and coupons.
Companion Guide: Wallet Developer Guide
Passes are a digital representation of information that might otherwise be printed on small pieces of paper or plastic. They let users take an action in the physical world. Passes can contain images and a barcode, and you can update passes using push notifications. The pass library contains the user’s passes, and users view and manage their passes using the Wallet app.
This technology consists of three main components:
A package format for creating passes.
A web service API for updating passes, implemented on your server.
An API used by your apps to interact with the user’s pass library.
The PassKit support materials are available in the developer downloads area. They contain fully worked example passes, a command-line tool to help you sign passes during development, and a sample implementation of the web service.
At a Glance
This document covers the file format used by the PassKit framework to describe passes.
Pass files are stored on disk as a zipped package with the
pkpass file extension.
The top level of the package contains the following files:
- The image displayed as the background of the front of the pass.
- The image displayed on the front of the pass near the barcode.
- The pass’s icon. This is displayed in notifications and in emails that have a pass attached, and on the lock screen.When it is displayed, the icon gets a shine effect and rounded corners.
- The image displayed on the front of the pass in the top left.
- A JSON dictionary. Each key is the path to a file (relative to the top level of the bundle) and the key’s value is the SHA-1 hash for that file. Every file in the bundle appears in the manifest, except for the manifest itself and the signature.
- A JSON dictionary that defines the pass. Its contents are described in detail in Top-Level Keys.
- A detached PKCS #7 signature of the
- The image displayed behind the primary fields on the front of the pass.
- An additional image displayed on the front of the pass. For example, on a membership card, the thumbnail could be used to a picture of the cardholder.
Understanding the Keys
pass.json file contains a dictionary that contains most of the information about the pass.
About Ambimat Electronics:
With design experience of close to 4 decades of excellence, world-class talent, and innovative breakthroughs, Ambimat Electronics is a single-stop solution enabler to Leading PSUs, private sector companies, and start-ups to deliver design capabilities and develop manufacturing capabilities in various industries and markets. AmbiIoT design services have helped develop Smartwatches, Smart homes, Medicals, Robotics, Retail, Pubs and brewery, Security.
Ambimat Electronics has come a long way to become one of India’s leading IoT(Internet of things) product designers and manufacturers today. We present below some of our solutions that can be implemented and parameterized according to specific business needs. AmbiPay, AmbiPower, AmbiCon, AmbiSecure, AmbiSense, AmbiAutomation.