6

i can't figure out how to build a OR Code for a Pass that is scannable with the new QR code scanner in iOS7' Passbook App.

When I try to scan a QR Code with a link to a working Pass, the App says it is 'No Pass available for this Card'. Card, hum?!

Any ideas?

poolsideDev
  • 390
  • 4
  • 13

2 Answers2

10

For a pass to install, the following criteria have to be met:

  • The link must be https
  • The URL must return a valid .pkpass bundle
  • The Content-Type header must be application/vnd.apple.pkpass

Unfortunately, these requirements are not yet documented, but they are mentioned in the WWDC session What's new in Passbook

PassKit
  • 12,231
  • 5
  • 57
  • 75
2

The URL contained in the QR code must return a valid PKPASS file and have the correct MIME type in the HTTP response.

Does that help?

Tomas McGuinness
  • 7,651
  • 3
  • 28
  • 40