AppLinkData

  • AppLinkData objects contain information about app links for Android, iOS, and web apps, along with display text.

  • AppLinkInfo objects, while largely deprecated, can define targets for opening app links.

  • AppTarget objects specify either a URI or package name as the target for the app link.

  • The displayText field within AppLinkData allows for customization of the app link button's text, with a 30-character limit.

  • App link functionality enables integration with external apps or web pages directly from Google Wallet passes.

JSON representation
{
  "androidAppLinkInfo": {
    object (AppLinkInfo)
  },
  "iosAppLinkInfo": {
    object (AppLinkInfo)
  },
  "webAppLinkInfo": {
    object (AppLinkInfo)
  },
  "displayText": {
    object (LocalizedString)
  }
}
Fields
displayText

object (LocalizedString)

Optional display text for the app link button. Character limit is 30.

AppLinkInfo

JSON representation
{
  "appLogoImage": {
    object (Image)
  },
  "title": {
    object (LocalizedString)
  },
  "description": {
    object (LocalizedString)
  },
  "appTarget": {
    object (AppTarget)
  }
}
Fields
appLogoImage
(deprecated)

object (Image)

Deprecated. Image isn't supported in the app link module.

title
(deprecated)

object (LocalizedString)

Deprecated. Title isn't supported in the app link module.

description
(deprecated)

object (LocalizedString)

Deprecated. Description isn't supported in the app link module.

appTarget

object (AppTarget)

Target to follow when opening the app link on clients. It will be used by partners to open their app or webpage.

AppTarget

JSON representation
{

  // Union field target can be only one of the following:
  "targetUri": {
    object (Uri)
  },
  "packageName": string
  // End of list of possible types for union field target.
}
Fields

Union field target.

target can be only one of the following:

targetUri

object (Uri)

URI for AppTarget. The description on the URI must be set. Prefer setting package field instead, if this target is defined for your application.

packageName

string

Package name for AppTarget. For example: com.google.android.gm