Contents

AppDistributor

Options that describe the marketplace from which the app installs.

Declaration

enum AppDistributor

Mentioned in

Overview

Apps on alternative app marketplaces need to use APIs that vary from apps on the App Store. Specifically, use:

To observe API differences, check the value of the app distributor’s static (current) property to determine the installation source:

App distributor case

Installation source

Appstore

The App Store

Testflight

TestFlight

Marketplace(_:)

Alternative app marketplace; the argument String identifies the marketplace bundle ID

Web

The developer’s website

Other

Enterprise or education developer programs

API availability varies depending on the source, so your app needs to check the current source at each launch — not just at the first launch — and adjust the APIs it uses accordingly.

In addition, for apps that aren’t marketplaces, use eligibilityRegion to determine if an Apple Account is signed in that has a region eligible for transaction reporting.

For more information, see Distributing your app on an alternative app marketplace.

Topics

Enumeration Cases

Type Properties