Repository navigation
feat: open an installed Apple Wallet pass from the app - #134
Merged
JakubKorytko merged 5 commits intoOct 29, 2026
Merged
Conversation
Card Home can jump to the iPhone pass that is still waiting for verification.
This was referenced Oct 27, 2026
Contributor
Author
Contributor
Author
|
@JakubKorytko for a look when you have a minute. Requesting a review from the fork returns a permissions error, so this comment is the ping. |
JakubKorytko
left a comment
Member
There was a problem hiding this comment.
two edge cases in the pass lookup + conflicts
An empty suffix matches every pass, and two cards that end in the same digits are not one card, so neither case opens Wallet.
Contributor
Author
|
@JakubKorytko merged current |
Contributor
Author
|
@JakubKorytko merged current |
Contributor
Author
|
@JakubKorytko merged current |
Contributor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Details
presentAppleWalletPass(lastDigits)opens the installed iPhone pass in Wallet. It prefers a pass that still needs verification, and otherwise opens the pass with those last digits that is not deactivated. It returnsfalsewhenlastDigitsis empty, when no pass matches, or when the matches belong to more than one card. Passes on a paired Apple Watch are not opened.On Android the call resolves
false, so callers do not need their own platform check.Related Issues
Related to #45. That request started from opening the pass that is waiting for verification, which is what this function does. It does not activate the pass. In-app activation is #96, so this does not close #45.
Manual Tests
This repo has no automated tests. Typecheck and lint pass. The example app builds for the iOS simulator with the new architecture. Android was not compiled here: the example app does not include the TapAndPay SDK. The Kotlin change is a stub that resolves
false.presentAppleWalletPasswith its last digits. Wallet opens that pass and the call resolvestrue.false.falseand does not open a pass.false.false.Linked PRs
Merged current
main, which includes #91, #96, and #132. #133 also edits theaddCardToAppleWalletREADME row andsrc/index.tsx. Whichever lands next will need a small merge.