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
- Android SDK 4.10.1+.
- Call this method before calling
init. - The domain must already be mapped to your OneLink subdomain via CNAME. See Brand OneLink with your domain.
Call this beforeinitIf 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
Updated 13 days ago
Did this page help you?