Skip to content

Supporting iOS 18 Changes #205

Description

@alexandercerutti

iOS 18 have been announced a few days ago and, a few hours ago, the session including the upcoming changes to Apple Wallet have been published: https://developer.apple.com/videos/play/wwdc2024/10108/

Some new fields have been published to support the new UI for events.

That said, within september October (when iOS 18.1 will get released), a passkit-generator update will be published.

If anyone wants to attempt to generate the new passes with an iOS 18 Beta through passkit-generator, I kindly ask you to leave a comment here, so I'll know if I should publish an alpha version with some changes.

This issue will be soon updated with a summary of the changes in the schemas. (see below, second comment)

Recap from the discussion until now

  • The new eventTicket is a pass that requires NFC Entitlements

  • Show hidden and useless updates
    • Schema changes are available in this branch
    • We were able to extract the NFC certificate used by PassKit to generate an NFC pass from its signature and found what are the practical differences between a normal one and and NFC one. A certificate cannot be tampered, so we cannot generate one with NFC capabilities.
    • Although RC was released and new model is cited inside the changelog and the web page, with only the details provided in the WWDC video (and NFC certificate), it seems to be impossible yet to generate a valid eventTicket with the new UI. it is possible now to generate one.
    • Apparently not even with 18 or iOS 18.1, it is possible to generate it.
  • Apple made at least one mistake in their video: preferredStyleSchemes is a top level property. All the errors are marked in the second message with a strikethrough style, followed or preceded by the correct property.

  • One of semantics.venueRegionName, semantics.venueName or semantics.venueRoom is a required for the new layouto appear.

  • The new layout applies to all the semantics.eventType but PKEventTypeSports for which two more properties are needed: semantics.awayTeamAbbreviation and semantics.homeTeamAbbreviation

  • The new layout applies to semantics.eventType == PKEventTypeLivePerformance, but semantics.performerNames is required.

  • Each relevantDates entry allows a max time span of 1 day, between 00:00 and 23:59, timezone excluded.

  • Found lot more of root properties for event guide, for transfering and selling tickets and for live activies.

  • A new asset venueMap.png (and resolutions, probably) can be added to bundle to show the map of the venue in the event guide

  • iOS 18.1 b6 shows perfectly the live activity, with seat color highlighted, even in case of general admission

  • has been released with all the discussed changes. We are waiting for the stable release of iOS 18.1 to release a stable version of this library, in order to see if an updated documentation will come out (other than the N.D.A/private documents shared with companies) and if something more should be added.

  • New iOS 18 fields have been discovered after the release of passkit-generator@v3.2.0.

  • has been released! 🎉

  • Apple updated the documentation, both API and HIG with details about the new Poster event ticket!

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions