- Added support for remote property token (
at_property
) updates via Experience Platform Data Collection rules. - Added support for raw Target APIs to fetch mbox content and to send notifications to Adobe Target.
- The
executeRawRequest
API can be used to prefetch or execute mbox locations (even non-unique mbox locations). The API callback will be invoked with the full response data from Adobe Target if the request is successful, or with an error message otherwise. - The
sendRawNotifications
API can be used to send display or click notifications to Adobe Target. The event token required for these requests can be retrieved from the response of a prior prefetch or execute call viaexecuteRawRequest
API.
- The
- Added support for raw Target APIs to fetch mbox content and to send notifications to Adobe Target.
- The
executeRawRequest
API can be used to prefetch or execute mbox locations (even non-unique mbox locations). The API callback will be invoked with the full response data from Adobe Target if the request is successful, or with a null value otherwise. - The
sendRawNotifications
API can be used to send display or click notifications to Adobe Target. The event token required for these requests can be retrieved from the response of a prior prefetch or execute call viaexecuteRawRequest
API.
- The
- Added support for a new Event Type
Raw Request
in Adobe Target extension for creating rules on the Experience Platform Data Collection UI. This can be used for handling advanced scenarios when using the raw Target APIs.
Added getter and setter APIs for Target tnt IDs and session IDs to enable cross-channel sessions.
- The
setSessionId
API should be invoked prior to any Target request to prevent the Mobile SDK from generating a session ID locally. The set session ID will follow the session expiry as governed by thetarget.sessionTimeout
configuration setting. You can use this API in conjunction withsetTntId
API to set both of the value in the SDK. - The
setTntId
API, when invoked, also sets the Target edge host value in the SDK by deriving it from the profile location hint supplied in the tnt ID. - The
getSessionId
andgetTntId
APIs can be used to retrieve the current Target session ID and tnt ID values respectively.
Added getter and setter APIs for Target tnt IDs and session IDs to enable cross-channel sessions.
- The
setSessionId
API should be invoked prior to any Target request to prevent the Mobile SDK from generating a session ID locally. The set session ID will follow the session expiry as governed by thetarget.sessionTimeout
configuration setting.You can use this API in conjunction withsetTntId
API to set both of the value in the SDK. - The
setTntId
API, when invoked, also sets the Target edge host value in the SDK by deriving it from the profile location hint supplied in the tnt ID. - The
getSessionId
andgetTntId
APIs can be used to retrieve the current Target session ID and tnt ID values respectively.
- Fixed an issue where the Target display notification was not being sent to the server, upon invoking
displayedLocations
API, if a prior prefetch call did not return profile state token for the mbox.
- Fixed an issue where the Target qaMode parameters were not being attached to the
retrieveLocationContent
API requests, once the Target preview selections were confirmed.
- Fixed an issue where the Target session ID was not being persisted in the local storage if the app was closed before session expiry.
- Added support for sending the click conversion A4T payload to Adobe Analytics for A4T-enabled Target activities when the
locationClicked
API is called.
TargetRequest
class now provides a constructor with a new callback interface namedAdobeTargetDetailedCallback
. When implemented, the callback method provides:- Target content; AND
- Data payload map containing one or more of response tokens, Analytics payload, click metric Analytics payload (if available in the Target retrieve location content response with/ without a prior prefetch call)
Note: This SDK extension, per previous behavior, will make requests to Adobe Analytics (if the Adobe Analytics extension is also implemented) with appropriate Target payloads for A4T functionality.
TargetRequest
class now provides a constructor with a new callback function namedcontentWithDataCallback
. When implemented, this callback provides:- Target content; AND
- Data payload dictionary containing one or more of response tokens, Analytics payload, click metric Analytics payload (if available in the Target retrieve location content response with/ without a prior prefetch call)
Note: This SDK extension, per previous behavior, will make requests to Adobe Analytics (if the Adobe Analytics extension is also implemented) with appropriate Target payloads for A4T functionality.
- Fixed an issue where the click notification was not being sent to Adobe Target for a retrieved mbox location upon the
clickedLocation
API call. - Added support for sending the click conversion A4T payload to Adobe Analytics for A4T-enabled Target activities when the
clickedLocation
API is called.
- Added the changes to move away from bintray and start using Sonatype to push the SDK to Maven Central.
- The AEP SDKs are now distributed using XCFrameworks in order to support hardware with the new Apple M1 architecture while maintaining support for existing Intel architecture.
- IMPORTANT: Upgrading to XCFrameworks distribution requires Xcode 12.0 or newer
- IMPORTANT: If using Cocoapods, upgrading to the XCFrameworks distribution requires Cocoapods 1.10.0 or newer
- Added support for configuration option
target.server
which enables a custom host to be used for Target requests. This configuration option is available in the Adobe Target Launch extension starting with version 2.4.0.
- Added support for configuration option
target.server
which enables a custom host to be used for Target requests. This configuration option is available in the Adobe Target Launch extension starting with version 2.4.0. - Public APIs now support error handling via passing
AdobeCallbackWithError
.
The following updates were made in this release:
- Report extension details to Mobile Core for improved logging and Griffon support.
- Target Session Id will now be added as a context data parameter
a.target.sessionId
in the internal Analytics for Target hit sent to Adobe Analytics. - Fixed an issue, where on app close and relaunch, previously persisted tntId was not being sent in Target requests.
The following updates were made in this release:
- Report extension details to Mobile Core for improved logging and Griffon support.
- Target Session Id will now be added as a context data parameter
a.target.sessionId
in the internal Analytics for Target hit sent to Adobe Analytics.
The following updates were made in this release:
Android Target 1.1.4 and iOS Target 2.1.5
- Improved existing log messages and added additional logging to assist with debugging.
The following updates were made in this release:
- The Target session ID and Edge Host will now be persisted in
NSUserDefaults
. If there is no activity for the configuredtarget.sessionTimeout
, these variables will be reset. The default session timeout value is 30 minutes.
- The Target session ID and Edge Host will now be persisted in Shared Preferences. If there is no activity for the configured
target.sessionTimeout
, these variables will be reset. The default session timeout value is 30 minutes. - Fixed an issue where the null
at_property
key, which was passed in mbox parameters, was being sent in Target requests.
The following updates were made in this release:
- Fixed a bug that, when prefetchContent is called with a nil callback, caused a crash in iOS.
The following updates were made in this release:
-
target.previewEnabled
, a new configuration Boolean key, has been added. This key is used to enable/disable Target Preview.If key is not provided, preview is enabled by default.
-
Fixed an issue in Android where Target Preview links were decoded twice, which lead to an error preview page.
The following updates were made in this release:
- Use the
target.propertyToken
configuration setting to configure theat_property_token
that is generated from the Target UI, instead of passing the token as an mbox parameter. - Fixed an issue where JSON offers were not being returned as content but instead default content was served.
-
Upgraded the Target Delivery APIs to latest v1 delivery endpoint.
-
Introduced
retrieveLocationContent
, a new API that retrieves content for multiple Target mbox locations simultaneously without increasing the reporting count for prefetch cases. -
Introduced
locationsDisplayed
, a new API that helps Target record location to display events.This API should only be used for prefetch scenarios.
-
Provided support for
TargetParameters
which is a helper class that combines parameters such asmboxParameters
,profileParameters
,orderParameters
, andproductParameters
. -
New
prefetchContent
andlocationClicked
APIs which acceptTargetParameters
.
The following updates were made to the Adobe Target extension:
The Target Client Code is now automatically added based on your Experience Cloud organization.
- If no code is found, you can type it in.
- If multiple codes are found, you can select the code from the drop-down list.