Skip to content

Latest commit

 

History

History
18 lines (18 loc) · 1.12 KB

File metadata and controls

18 lines (18 loc) · 1.12 KB

Starting version 6.13.0, we support a manual mode to seperate the initialization of the AppsFlyer SDK and the start of the SDK.
In this case, the AppsFlyer SDK won't start automatically, giving the developer more freedom when to start the AppsFlyer SDK.
Please note that in manual mode, the developer is required to implement the API AppsFlyerLib.shared().start() in order to start the SDK.
You should set this mode before registering the MobileCore Extensions in AppDelegate.
If you are using CMP to collect consent data this feature is needed. See explanation here.

Example:

AppsFlyerAdobeExtension.manual = true;

Please look at the example below to see how to start SDK once you want.
Keep in mind you shouldn't put the start() on a lifecycle method.
To start the AppsFlyer SDK, use the start() API, like the following :

AppsFlyerLib.shared().start()
AppsFlyerAdobeExtension.manual = false

You need to end the manual mode. This will tell the Extension to call start() from this point.