<!--
{
  "availability" : [
    "iOS: 17.4.0 -",
    "iPadOS: 17.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "marketplacekit",
  "identifier" : "/documentation/MarketplaceKit/AppLibrary/requestAppInstallationFromBrowser(for:referrer:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "MarketplaceKit"
    ],
    "preciseIdentifier" : "s:14MarketplaceKit10AppLibraryC07requestC23InstallationFromBrowser3for8referrery10Foundation3URLV_AItYaKF"
  },
  "title" : "requestAppInstallationFromBrowser(for:referrer:)"
}
-->

# requestAppInstallationFromBrowser(for:referrer:)

Forwards an app installation request from the developer’s webpage.

```
nonisolated final func requestAppInstallationFromBrowser(for url: URL, referrer: URL) async throws
```

## Parameters

`url`

The unparsed `marketplace-kit` URL that triggers the installation request.

`referrer`

The origin of the top frame that contains the alternative marketplace installation URL.

## Discussion

Web browsers that render with <doc://com.apple.documentation/documentation/BrowserEngineKit> rather than <doc://com.apple.documentation/documentation/WebKit> call this method to forward the installation of an app from the developer’s webpage. Your browser listens for [`MarketplaceKitURIScheme`](/documentation/MarketplaceKit/MarketplaceKitURIScheme) invocations to field such requests.

For more information, see [Enabling alternative distribution app installation in a browser](/documentation/marketplacekit/enabling-alternative-distribution-app-installation-in-a-browser).

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)