Permalink
Browse files

Update README.md

Clarifying the importance of the icon and logo in the example.
  • Loading branch information...
1 parent 5aaf237 commit ba3146fef0ccedc429c9d500b26b03c79aa8edcf @wasauce wasauce committed Oct 15, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 README.md
View
@@ -52,6 +52,8 @@ Typical Usage
teamIdentifier=teamIdentifier)
passfile.serialNumber = '1234567'
passfile.barcode = Barcode(message = 'Barcode message')
+
+ # Including the icon and logo is necessary for the passbook to be valid.
passfile.addFile('icon.png', open('images/icon.png', 'r'))
passfile.addFile('logo.png', open('images/logo.png', 'r'))
passfile.create('certificate.pem', 'key.pem', 'wwdr.pem', '123456', 'test.pkpass') # Create and output the Passbook file (.pkpass)

0 comments on commit ba3146f

Please sign in to comment.