# Related Applications

The `prefer_related_applications` member is a boolean value that specifies that applications listed in `related_applications` should be preferred over the web application.

If the `prefer_related_applications` member is set to `true`, the user agent might suggest installing one of the related applications instead of this web application.

{% code title="/config/packages/pwa.yaml" lineNumbers="true" %}

```yaml
pwa:
    manifest:
        prefer_related_applications: true
        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"
```

{% endcode %}

Currently known possible values for the platform member are as follows;

* `"chrome_web_store"`: [Google Chrome Web Store](https://chrome.google.com/webstore).
* `"play"`: [Google Play Store](https://play.google.com/).
* `"chromeos_play"`: [Chrome OS Play](https://support.google.com/googleplay/answer/7021273).
* `"webapp"`: [Web apps](https://www.w3.org/TR/appmanifest/).
* `"windows"`: [Windows Store](https://www.microsoft.com/store/apps).
* `"f-droid"`: [F-droid](https://f-droid.org/).
* `"amazon"`: [Amazon App Store](https://www.amazon.com/gp/browse.html?node=2350149011).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://pwa.spomky-labs.com/1.1.x/experimental-features/non-standard-parameters/related-applications.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
