mutex
mutex

Reputation: 7738

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

Upvotes: 0

Views: 843

Answers (2)

grundyoso
grundyoso

Reputation: 2475

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

Upvotes: 1

H0ckeyfr33k99
H0ckeyfr33k99

Reputation: 145

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.

Upvotes: 0

Related Questions