adjust-icon

iOS Adobe Extension v3 migration guide

The Adjust Extension for Adobe Experience SDK has been updated to v3 to support Adjust iOS SDK v5. Follow this guide to migrate from v2 to v3.

To install v3 of the Adjust iOS Extension for Adobe Experience using Swift Package Manager, enter the following URL:

https://github.com/adjust/ios_adobe_extension.git

If you're using CocoaPods, add the following line to your Podfile:

Podfile
pod 'AdjustAdobeExtension'

For a complete guide to setting up the Adjust iOS Extension for Adobe Experience, see the integration guide.

New APIs

v3에서 추가됨

The following APIs have been added in v3.

v3 of the Adjust Extension for Adobe Experience SDK adds support for resolving short branded links. To resolve shortened links, call the Adjust.processAndResolveDeeplink method with the following arguments:

deeplink: NSURL

The deep link that opened the app.

withCompletionHandler: ADJResolvedDeeplinkBlock

A completion function that receives the resolved short link as an argument.

Global callback parameters

v3 of the Adjust Extension for Adobe Experience SDK adds support for the global callback parameters API from iOS SDK v5. To add global callbacks to your sessions, call the Adjust.addGlobalCallbackParameter method with the following arguments:

key: NSString

The key of your parameter.

value: NSString

The value of your parameter.

Learn how to set up global callback.

Global partner parameters

v3 of the Adjust Extension for Adobe Experience SDK adds support for the global partner parameters API from iOS SDK v5. To add global partner parameters, call the Adjust.addGlobalPartnerParameter method with the following arguments:

key: String

The key of your parameter.

value: String

The value of your parameter.

Learn how to set up global partner parameters.

Set external device ID

v3 of the Adjust Extension for Adobe Experience SDK adds support for setting external device identifiers. To set an external device ID, call the setExternalDeviceId method of your AdjustAdobeExtensionConfig instance with the following argument:

externalDeviceId: NSString

Your external device identifier.

Learn how to configure external device IDs.

v3 of the Adjust Extension for Adobe Experience SDK adds support for setting a default link token for recording preinstalled app installs to a default campaign. To set a default link token, call the setDefaultTracker method of your AdjustAdobeExtensionConfig instance with the following argument:

defaultTracker: NSString

The alphanumeric link token of your preinstall campaign.

Learn how to send preinstalled app activity.

Changed APIs

v3에서 변경됨

The following APIs have changed in v3.

Direct deep linking

In SDK v2, you can open deep links for attribution by calling the AdjustAdobeExtension.application method with the deep link data as an argument.

SDK v3 has been updated to use the Adjust iOS SDK's processDeeplink method. To open direct deep links:

  1. Create a new ADJDeeplink instance with the deep link URL.

  2. Pass your ADJDeeplink instance to the Adjust.processDeeplink method.

Learn how to reattribute users with direct deep links.

Deferred deep linking callback

In SDK v2, you can configure the SDK to launch a callback function when a deferred deep link is opened by passing a function to the setDeeplinkResponseBlock method of your AdjustAdobeExtensionConfig instance.

In SDK v3, the setDeeplinkResponseBlock method has been renamed to setDeferredDeeplinkReceivedBlock.

Learn how to work with deferred deep link callbacks.