Reputation: 11861
I have successfully created an Apple Passbook for an event, but I am a bit worried about relevantDate and location as the relevantDate is 2017-11-07T22:42:39-05:00
on the Passbook, my concern is my event is on Monday November 13 between 2pm - 8pm
will my Passbook with that relevantDate work on Monday November 13 between 2pm - 8pm
? The concerning part is this 22:42:39-05:00
What does the -05:00 mean, is my passbook only good for 5 hours or until 5am on that day only? Meaning the passbook wont work on Monday November 13th at 2pm - 8pm
?
My question about location is, currently I have 2 locations set, will my passbook not work outside of those locations?
Final question, are these fields required? If I don't set them will be good anytime, anywhere?
Upvotes: 2
Views: 1158
Reputation: 12581
-05:00 means 10:42pm in a timezone 5 hours behind UTC. E.g. The Eastern Standard Time Zone.
The times and locations determine when the pass will be shown on the lock screen. For an event ticket, a lock screen notification will only trigger if the time and the location match. If you don't set these fields, then the pass can still be used, but the user will have to open Wallet and find the pass manually.
The exact window of time matching is not specified by Apple, but it is around 2-3 hours before and after the time specified in the pass.
So, if I am in range of either of these locations between say 8:00pm on 7 November 2017 and 2:00am on 8 November 2017, the pass is likely to be showing on the users's lock screen.
Upvotes: 5