Passbook

From The iPhone Wiki
Revision as of 08:11, 11 November 2012 by Http (talk | contribs) (some tiny fixes)
Jump to: navigation, search

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.

Features

The Passbook application displays 2D barcodes of following types:

  • Aztec
  • PDF417
  • QR

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.

Although the application is available in iOS 6 or later, it is currently only available on iPhone and iPod touch, but not on iPad.

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.

Passbook Passes

Passbook passes are renamed ZIP archives with the extension pkpass. Ususally they have the following content.

  • icon.png
  • icon@2x.png (Retina Version of icon)
  • logo.png
  • logo@2x.png (Retina Version of logo)
  • manifest.json
  • pass.json
  • signature

Passbook passes basically rely on JSON (JavaScript Object Notation) as data-interchange format.

Transportation Services on Passbook

The following services currently support passbook passes.

  • Air China
  • Air Canada
  • American Airlines
  • Lufthansa
  • Porter Airlines
  • United Airlines
  • Virgin Australia Airlines
  • Amtrak

Loyalty Cards

The following loyalty cards are available on Passbook.

  • Gyft
  • Sephora
  • Staples
  • Starbucks
  • Target Corporation
  • Valpak
  • Walgreens

Online Passbook Creators

The following websites allow you to create Passbook content.

Name URL
PassKit http://passk.it & https://create.passkit.com
Passbook Generator http://www.passbookgenerator.com
Passfu http://passfu.com
iPass.pk http://ipass.pk
PassPages http://passpages.com
Passslot http://passslot.com
PassbookInfo https://passbookinfo.com/convert-card-to-passbook/

iPhone Apps

The following Apps allow you to create Passbook passes.

Software

To generate or validate Passbook passes, there are many tools, libs and classes in various programming languages available.

Name Language License URL
passbook Ruby MIT https://github.com/frozon/passbook
Passbook Ruby MIT https://github.com/mattt/passbook_rails_example
passbook Python MIT https://github.com/devartis/passbook
PHP-Passkit PHP N/A https://github.com/tschoffelen/PHP-Passkit
passkit PHP N/A https://github.com/laksgandikota/passkit
passkit.php PHP MIT https://github.com/SimonWaldherr/passkit.php
PassFactory.js node.JS MIT https://github.com/jetheis/PassFactory.js
jpasskit Java Apache https://github.com/bitzeche/jpasskit
passbook PHP MIT https://github.com/skyzyx/passbook
dotnet-passbook C# MIT https://github.com/tomasmcguinness/dotnet-passbook