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
a new TargetRequestObjectWithData which registers a callback containing both the content, data and error.
both native iOS and Android implementations to expose the contentWithDataCallback to RN
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
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
Exposes the native content with metadata callback to React Native. Currently it is not possible to retrieve the
responseTokens
oranalytics payload
as described for Android and for iOS.Description
Added
TargetRequestObjectWithData
which registers a callback containing both the content, data and error.contentWithDataCallback
to RNRelated 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: