Skip to content

New Pass.Action.placeIdentifier property. - #35

Merged
hiimtmac merged 1 commit into
hiimtmac:mainfrom
mohalibou:main
Sep 12, 2026
Merged

hiimtmac merged 1 commit into
hiimtmac:mainfrom
mohalibou:main

Conversation

@mohalibou

Copy link
Copy Markdown
Contributor

An addition has been made to the Pass.Action type. This PR adds an optional placeIdentifier property to Pass.Action for .place featured actions.

Although featured actions generally use url for their destination, .place requires a separate placeIdentifier containing an Apple Maps Place ID (like I63802885C8189B2B). Providing a Maps URL in url does not satisfy that requirement.

This field is missing from Apple’s public featured-actions documentation. Direct testing against macOS 27 PassKitCore confirmed that the parser rejects .place actions containing only a URL and accepts those containing placeIdentifier.

The new parameter defaults to nil, preserving existing initializer calls.

@hiimtmac hiimtmac left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@hiimtmac
hiimtmac merged commit 9671b09 into hiimtmac:main Sep 12, 2026
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants