Passbook is an application in iOS that allows users to store coupons, boarding passes, and other forms of mobile payments. It was announced by Apple at the 2012 Apple Worldwide Developers Conference on June 11, 2012 and finally released with iOS 6 on September 19, 2012.
The Passbook application displays 2D barcodes of following types:
Each digital coupon or ticket is known as a "pass". When the user launches Passbook for the first time, they will be redirected to the App Store to download applications with Passbook integration. Passes can also be added using a webbrowser and the built-in Mail application as well, along with the corresponding OS X applications in OS X Mountain Lion.
Passbook has the following features
- Displays 2D barcodes of following types: Aztec, PDF417 and QR.
- Triggered by location.
- Triggered by time of pass.
- Can be updated by the pass provider or user himself.
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 detached PKCS#7 signature of the manifest.json file.
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.
Note: All of the pass’s images are loaded using standard UIImage image-loading methods. This means, for example, the file name of high resolution (retina) version of the image ends with @2x.png.
Transportation Services on Passbook
The following services currently support passbook passes.
- Air China
- Air Canada
- American Airlines
- Porter Airlines
- United Airlines
- Virgin Australia Airlines
The following loyalty cards are available on Passbook.
- Target Corporation
Online Passbook Creators
The following websites allow you to create Passbook content.
|PassKit||http://passk.it & https://create.passkit.com|
The following Apps allow you to create Passbook passes.
To generate or validate Passbook passes, there are many tools, libs and classes in various programming languages available.