Search code examples
google-paygoogle-wallet

Google wallet - how to customise top level items?


I'm wondering if anyone knows if it's possible to customise the cards displayed in the initial screen of the google wallet? i.e when you first open google wallet you see a list of your passes - can you add an extra line of text on this?

And where can I find the details of what displays in this view? For example looking here:

https://developers.google.com/wallet/tickets/transit-passes/qr-code/overview/add-to-google-wallet-flow

They have this example, but I can't find where in the documents they give further information about what displays by default in this view:

Example from google docs


Solution

  • The short answer is that you can't really change what Google uses for those previews.

    But I liked your question so much that I made a simple guide for anyone else that has this problem but wants to know the default JSON values that get mapped onto previews for passes in Google Wallet: https://www.passninja.com/tutorials/google-platform/how-to-customize-previews-for-google-wallet-passes