Use TransitClass.appLinkData to place an app link at the bottom of all the passes of that class.
One benefit of app linking is that it empowers your call-to-action to navigate
users to your branded experiences from Google Wallet. Links with this feature appear at the bottom
of the Pass.
Feature example
Issuer
Set the app link on your Google Wallet pass
For a given transit pass, set the field TransitObject.appLinkData
to the URI or Package name of your app or website.
See the format and context of the appLinkData field in the following source code:
The displayText field is limited to 30 characters.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-17 UTC."],[[["There are four ways to add links to a transit pass, including associating links with all passes of a class or individual passes."],["App linking empowers call-to-actions within Google Wallet passes, allowing navigation to branded experiences by placing links at the bottom of the pass."],["The `appLinkData` field is used to configure the link, accepting a URI or package name and allowing for Android or web app targets."],["The `displayText` field, with a 30-character limit, is used to customize the link's display within the Google Wallet pass."]]],["Links can be added to transit passes via `TransitClass.LinksModuleData` (for all passes) or `TransitObject.LinksModuleData` (for a specific pass). App links, displayed at the bottom of passes, can be added using `TransitObject.appLinkData` (specific pass) or `TransitClass.appLinkData` (all passes of that class). `appLinkData` utilizes `androidAppLinkInfo` or `webAppLinkInfo` to link to an app or website, respectively, with a maximum of 30 characters in the `displayText`.\n"]]