related_applications

Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

Type Array

The related_applications field is an array of objects specifying native applications that are installable by, or accessible to, the underlying platform — for example, a native Android application obtainable through the Google Play Store. Such applications are intended to be alternatives to the manifest's website that provides similar/equivalent functionality — like the native app equivalent.

Note: Developer can specify that the native applications are preferred over the web application by setting prefer_related_applications to true.

Examples

json

"related_applications": [
  {
    "platform": "play",
    "url": "https://play.google.com/store/apps/details?id=com.example.app1",
    "id": "com.example.app1"
  }, {
    "platform": "itunes",
    "url": "https://itunes.apple.com/app/example-app1/id123456789"
  }, {
    "platform": "windows",
    "url": "https://apps.microsoft.com/store/detail/example-app1/id123456789"
  }
]

Application objects may contain the following values:

Member Description
platform The platform on which the application can be found. List of available values
url The URL at which the application can be found.
id The ID used to represent the application on the specified platform.

Specifications

Specification
Web Application Manifest
# related_applications-member

Browser compatibility

BCD tables only load in the browser