- 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
locationClickedAPI is called.
TargetRequestclass 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.
TargetRequestclass 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
clickedLocationAPI call. - Added support for sending the click conversion A4T payload to Adobe Analytics for A4T-enabled Target activities when the
clickedLocationAPI 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.serverwhich 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.serverwhich 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.sessionIdin 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.sessionIdin 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_propertykey, 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.propertyTokenconfiguration setting to configure theat_property_tokenthat 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
TargetParameterswhich is a helper class that combines parameters such asmboxParameters,profileParameters,orderParameters, andproductParameters. -
New
prefetchContentandlocationClickedAPIs 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.