adobe / aepsdk-react-native

A wrapper around the iOS and Android AEP mobile SDK to allow for integration with React Native applications.
Apache License 2.0
15 stars 28 forks source link

Extends TargetRequests with content and (meta)data callback #295

Open jeffreydelooff opened 11 months ago

jeffreydelooff commented 11 months ago

Exposes the native content with metadata callback to React Native. Currently it is not possible to retrieve the responseTokens or analytics payload as described for Android and for iOS.

Description

Added

Related Issue

Exposes additional already existing native SDK functionality.

Motivation and Context

Currently it is not possible to retrieve any additional (meta)data from a TargetRequest.

How Has This Been Tested?

Added unit tests and tested this with assurance in an existing project. Tracked the Target requests and its metadata. Added an analytics edge event to track this data.

Types of changes

Checklist: