tschoffelen / php-pkpass

💳 PHP class for creating passes for Wallet on iOS.
https://includable.com
MIT License
901 stars 185 forks source link

How to open Apple wallet and show some card for example by serialNumber #97

Closed aramecto closed 4 years ago

aramecto commented 4 years ago

Expected Behavior

Hi, Thanks for the great LIb. I created pkpass file and when I open the url from website with Apple device, its open the Valet with add to wallet button, but when I add it to wallet, and try again the same, it is again showing add to wallet, I made some research and found how to onle open Appel Wallet ( go to shoebox:// ), but I need to open specific card, how to open it? PLease see https://stackoverflow.com/questions/49641182/how-can-i-get-passurl-for-a-pass-to-open-it-in-passbook-app

tschoffelen commented 4 years ago

Hi, thanks for using the library!

This question doesn't really fit within the scope of the library, since it only deals with creating passes, not how to properly display those or open them after adding to the Wallet app.

From what I can gather by doing a quick search, however, although it might be possible using an undocumented and unsupported URL scheme, nobody seems to know exactly how, and Apple wouldn't support this way of using Wallet. I also think that users don't expect this behaviour, and it would be easier to just direct them (using text) to open the Wallet app to find their existing passes.

lock[bot] commented 4 years ago

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.