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?
Create a pkpass by command line:Create a pass certificate with openssl and pkcs12 hashing type. The Path to . p12 certificate (created in the previous step) goes as input. The output will be the private key which will be stored in a .
Open the Camera app from the Home Screen, Control Center, or Lock Screen. Select the rear facing camera. Hold your device so that the QR code appears in the viewfinder in the Camera app. Your device recognizes the QR code and shows a notification.
PKPASS is a file format, used for storage and exchange of digital passes, developed by Apple for its Wallet application. It's intended to represent information that "might otherwise be printed on small pieces of paper or plastic" like boarding passes, membership cards, coupons, certificates, etc.
For a pass to install, the following criteria have to be met:
.pkpass
bundleContent-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
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?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With