Closed fedegiust closed 7 years ago
I think your format for relevantDate
is incorrect. Apple docs refer to requiring a W3C-formatted date, which apparently is something like this: 2017-04-28T23:43:16+00:00
.
In PHP, that would be $date = date('Y-m-d\TH:i:sP');
.
I just updated the simple example, the code there makes the pass show up on my homescreen. Give it a minute or two though, it doesn't always show up directly.
Let me know if that works for you!
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
I'm creating an apple passbook for events, using your library.
It opens fine on my phone and everything but even though I'm using the relevanceDate as it says here (https://developer.apple.com/library/content/documentation/UserExperience/Conceptual/PassKit_PG/Creating.html#//apple_ref/doc/uid/TP40012195-CH4-SW53) to show up on the lock screen, it's not coming up.
I tried with todays date and tomorrows date but still is not coming up on the lock screen.
This is the pass.json
How far in advance a passbook is supposed to appear on the lock screen? Am I missing another field?
I already have location services enabled and wallet notifications enabled and it works for other passbooks.
Thanks