iOS: Branded domains [Draft]

At a glance: Set a branded domain for the iOS SDK

Overview

For an introduction, see Branded domains.

Use oneLinkCustomDomains to register the branded domain(s) mapped to your OneLink subdomain, so the SDK recognizes clicks from that domain.

Prerequisites

🚧

Set this before start

If the SDK initializes first, the domain isn't recognized and deep linking falls back to default resolution.

Usage

Usage example

AppsFlyerLib.shared().oneLinkCustomDomains = ["promotion.greatapp.com", "click.greatapp.com"]
AppsFlyerLib.shared().start()
[AppsFlyerLib shared].oneLinkCustomDomains = @[@"promotion.greatapp.com", @"click.greatapp.com"];
[[AppsFlyerLib shared] start];

Don't include https:// as part of the domain.

See also


Did this page help you?