Contents

MarketplaceAppExtension

An extension that facilitates authentication, installation, and launch of a marketplace with deep links.

Declaration

protocol MarketplaceAppExtension : AppExtension, Sendable

Mentioned in

Overview

You provide this extension to enable the operating system to facilitate some tasks for your app even if it isn’t running, such as:

  • Automatically updating apps when a new version is available.

  • Providing additional header text for communications with your marketplace server.

  • Launching your app storefront for a specific app.

  • Handling failures in requests to your marketplace server.

Define the extension point identifier

To set up your marketplace extension in Xcode, use a generic extension template and set the EXExtensionPointIdentifier key in the Info.plist file to com.apple.marketplace.extension:

<dict>
  <key>EXAppExtensionAttributes</key>
  <dict>
    <key>EXExtensionPointIdentifier</key>
    <string>com.apple.marketplace.extension</string>
  </dict>
</dict>
</plist>

Topics

Instance Methods