Android: Branded domains [Draft]

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

Overview

For an introduction, see Branded domains.

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

Prerequisites

🚧

Call this before init

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

Usage

Usage example

AppsFlyerLib.getInstance().setOneLinkCustomDomain("promotion.greatapp.com", "click.greatapp.com");
AppsFlyerLib.getInstance().init(devKey, null, this);

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

See also


Did this page help you?