CHICAGO, USA

318 West Adams Street, Chicago
IL 60606
USA
Tel: +1 512 999 5796

CLEVELAND, USA

675 Alpha Dr, Suite E, Highland Heights,
OH – 44143
Cleveland, Ohio
Tel: +1 512 999 5796

KOCHI, INDIA

#102, First Floor Lulu Cyber Tower
Infopark, Kochi – 682 042
Kerala, India
Tel: +91 484 404 5555

×

CONTACT US

INDIA

+914844045555

USA

+1 512 999 5796

Contact

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 Passbook app. Passbook is time and location enabled, so passes can be configured to display on the user’s Lock Screen at the appropriate time and place -- such as when the user reaches the airport or walks into a store. Each time the user wakes their device, Passbook will quickly check the relevance of passes and any that are now relevant will be displayed on the Lock Screen. The user can simply slide to view the pass for quick access. With a simple scan of the 2D barcode embedded in each pass, the card or ticket can be used for its purpose, without having paper coupons.  However, Passbook does not deal with credit card transactions. Pass Styles There are 5 different styles of passes Boarding pass Represents a ticket used for boarding a plane, train, boat, etc. Supported images : logo, icon, footer Coupon Used for merchants offering a % discount or promotional item. Supported images :  logo, icon, strip Event Ticket Gives access to an event at a particular time and venue. Supported images :  logo, icon, strip, background, thumbnail (If you specify a strip image, do not specify a background image or a thumbnail.) Store Card Can be used to represent a user’s account at a store or club. Supported images :  logo, icon, strip Generic Any purpose that doesn’t fit in the above categories, such as a membership card. Supported images :  logo, icon, thumbnail Distributing Passes Getting passes into Passbook is easy. You can distribute them to your users in a variety of ways: In your app Apps can present any type of pass to the user using a standard UIKit view controller. This gives users the option of adding the pass to Passbook. Via email Passes are digitally signed documents that can be attached to any email. When viewed on an iPhone or iPod touch with iOS 6, users can view the pass and add it to Passbook. On the web Using Safari in iOS 6, users can tap on links to passes to add them to Passbook. Distributing on the web is a convenient way to require users to sign into an account in order to receive a customized pass. Passbook Tips and Best Practices

    Add location and time relevance information thoughtfully. If you have a companion app for your pass, include a link on the back of the pass for easy access. Choose the most appropriate pass style for your pass. Use the alternate message to display meaningful text below the barcode. Be sure to handle redemption correctly. If requiring a user to sign into a web server in order to get a pass, be sure to use https. Push notifications should only be relevant to the passes the user has in their Passbook. Be aware of the iOS developer team used to register, generate and sign passes. For best results, try a bold, rich color for your pass background. Keep accessibility and localization in mind when designing passes. Limiting the amount of information displayed on the front of the pass. On the back of the pass, you should include a link to your app which will allow a user to quickly get back to the app. Optical scanners work better for scanning from the iPhone screen than laser scanners do.
What Is in a Pass
    Similar to an application bundle
      pass.json Icons Images Localized strings
    Signed and zipped
Building Passes
    Enter pass identifiers Choose a pass style Fill out user-visible fields Add colors, logos, and images. Establish relevant time and locations
Location
    Location queried on lock screen wake Provide up to 10 coordinates of interest in your pass.json Radius is tied to pass style Exit fence for location-relevant passes
Example : The Passbook app will open a card in it when within a preset distance from a store location.  The users will have instant access to the Card barcode and present the iPhone to scan as normal. Date
    Provide a single date of relevancy in your pass.json Relevancy window tied to pass style
Colors and styles
    Vibrant, solid colors work best Use the right pass style
Logos
    Solid white logos look good Logos are not automatically engraved
      Black drop shadow 1 pixel y-offset 1 pixel blur 35% opacity
    Use logo text
Layout
    Avoid information overload Keep passes accessible Use header fields sparingly PDF417 is friendly to layout (2D bar code)
Deploying Passes
    Visit the Developer Portal
      Set up a new Pass Type Identifier Get a signing certificate
    Sign and zip your pass package to create a pass
Set Up a Pass Type Identifier iOS Provisioning Portal
    New Pass IDs section Provide a description and identifier
      Must begin with “pass.” Reverse DNS recommended
Signing Passes
    Use the signpass tool included in the session resources On your server, you will need to write your own
      Reference implementation provided
(Source: Apple Inc.)

SHARE THIS BLOG ON

STAY UP-TO-DATE WITH US

Subscribe to our newsletter and know all that’s happening at Cabot.

SHARE