Google wallet - how to customise top level items?

127 views Asked by At

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

2

There are 2 answers

1
grundyoso On BEST ANSWER

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

1
H0ckeyfr33k99 On

From what I can tell on this, the item you have highlighted is actually a "Passes Class" entry of an event ticket. The text there is actually the event name as seen in the section "2. Create a Passes Object." You can see this in the image they have in that section: enter image description here

Maybe I'm misinterpreting the documentation here but it seems to me that this text you're asking about is the event text itself when the "Add to Wallet" feature is used and the Passes Object is imported into Wallet.