justdmitry / PassKitHelper

Helper library for all your Apple PassKit (Apple Wallet, Apple Passbook) needs.
MIT License
26 stars 6 forks source link

PassKit for google pay passes #2

Closed dolphinsd closed 4 years ago

dolphinsd commented 4 years ago

Dmitry, have your considered to add support for google pay passes. Apple and Google seems to be very similar, like they copied each other, let me know vkroutik sobachka gmail tochka com

Spasibo, Vlad.

justdmitry commented 4 years ago

As far as I know Google passes are very different - passed are pushed to Google server and special link is built for user to add this pass to his wallet. Also, I don’t know about any webhooks from G servers back to app.

If you know G docs with similar (to PassKit) features - give me know about them plz

dolphinsd commented 4 years ago

Here are 2 good links. From what I read, it very much the same: https://developers.google.com/pay/passes/support/libraries#libraries and https://github.com/google-pay/passes-rest-samples/tree/master/csharp

Maybe adding a factory for which wallet to use?!

justdmitry commented 4 years ago

No, its not the same. I had read that docs (and implemented Google Passes in one app with them). G Passes work in absolutely different way. No callbacks. No any file for client to download. Only push some data to G server and prepare link for client to get pass from G server. Nothing "like" Apple Passes (from developer PoV).