Skip to content
This repository has been archived by the owner on Dec 16, 2023. It is now read-only.

Unable to add barcode in the pass. #61

Open
maulijadhav-tudip opened this issue Sep 22, 2017 · 2 comments
Open

Unable to add barcode in the pass. #61

maulijadhav-tudip opened this issue Sep 22, 2017 · 2 comments

Comments

@maulijadhav-tudip
Copy link

I have created pass using passbook library but i am unable to add barcode to my pass. Can anyone provide me help in this issue?
There is one other issue I am unable to increase the thumbnail size.Is it possible to increase thumbnail size.?

@rivasvict
Copy link

@maulijadhav-tudip have you tried to put barcode object like:

  "barcode" : {
    "message" : "123456789",
    "format" : "PKBarcodeFormatPDF417",
    "messageEncoding" : "iso-8859-1"
  },

when creating the object template?

@rivasvict
Copy link

@maulijadhav-tudip I just tested that and worked just as I expected. It put the barcode attribute on the pass. If you are not seeing it in the actual pass. It might be due to a format issue (I mean, the way you build barcode's object).

I have not tested the actual pass but it is doing what it is supposed to do in the pass.json file

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants