Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

my passes are not grouping #14

Closed
ahmadRMusa opened this issue Jan 6, 2013 · 3 comments
Closed

my passes are not grouping #14

ahmadRMusa opened this issue Jan 6, 2013 · 3 comments

Comments

@ahmadRMusa
Copy link

I use the same pass data, only change the serial number ,
when I add 2 passes to passbook with the same category and same type identifier, passbook must group them in one group; but it does NOT.
my passes are of category: generic
and type identifier: pass.com.shopzooky.dev

I pulled all logs and console logs from device, but nothing about passbook there,

@drallgood
Copy link
Owner

Hmm... No idea why this might happen...
Did you compare the pass.json of your passes?

Could be a bug in iOS....

@ahmadRMusa
Copy link
Author

the only difference between my pass.json files is the serial number.
I think I have some issue with signature, I modified the code loading key store from p12. as described in issue #13 .
I am reading a book about java JCA/JCE and bouncy castle.
I did not mention that I am using java 1.6_u24 on ubuntu.

I fixed issue #13 (My eclipse used java installation, that I did not install unlimited policy for.), and now I am using your original code.

When I use the code provided by apple on mac, or openssl command on ubuntu to sign fmanifest.json file, my passes are grouped, but still not grouping with jpasskit.

@ahmadRMusa
Copy link
Author

this is not an issue, all blogs are saying that passbook groups passes using passTypeIdentifier and category. but apple documentation does not mention any thing about grouping, I noticed that I only changed the serial when I generated the passes using openSSL, and in my java code I set the relevant date dynamically. when I used the same date for testing passbook grouped my passes with the same relevant date.

so grouping is on teamId, passTypeIdentifier, and relevant date, I will test if it really use passTypeIdentifier in grouping.

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

No branches or pull requests

2 participants