tomasmcguinness / pkpassvalidator

Checks the validity of a PKPASS file by checking it's signature and contents match the Apple specification
MIT License
78 stars 21 forks source link

Suggest validation for presence of "value" in secondary, auxiliary fields #17

Open kkieffer opened 2 years ago

kkieffer commented 2 years ago

Great library - I found one obscure issue where I had a pkpass that had an auxiliary field with a key and label but no value. This passes your validator but fails to work on Apple devices. Oddly, Apple seems to accept missing value fields in secondary field ok. Just not the auxiliary

singhdilip1007 commented 1 year ago

@kkieffer can help me out to fix an issue?

I am currently facing an issue like I have created a .pkpass file from the code and when I am trying to open that file in Apple device I am getting a "File not supported issue" but If I open the same pass in android (PassWallet or Passes) it works fine.