You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Feat- Optimize Enhancements (Callback and Batch Tracking) (#513)
* Optimize - Update Proposition with callback support (#496)
* initial commit for update proposition api enhancement
* fixed error on clicking update proposition due to null or undefined callback.
* removed redundant code from RCTAEPOptimize.m
* fixed callback signature in api call in Optimize.ts and updated tests
* used separate callback for success and error case as native android sdk calls success and failure separately.
* tests fix and removed callbacklog from testapp
* fixed iOS bridge code to call both success and error callbacks and test update
* fixed android bridge to use AdobeCallbackWithError to provide error callback with AEPoptimize error response
* removed error parameter from createCallBackResponse
* changed public api signature to pass onSuccess and onError as functions instead of objects
* moved createCallbackResponse method from RCTAEPOptimizeModule to RCTAEPOptimizeUtil
* sending propositions map directly instead of sending under response key in successCallback
* added type for AEPOptimizeError and returned AEpOptimizeError type in errorCallback
* fixed index.js
* add displayed and generateDisplayInteractionXDM APIs for multiple offers (#508)
* add displayed API for multiple offers
* add proposition id to Offer class
* add ios impl for displayed api
* add generateDisplayInteractionXDM and UTs
* fix android build errors
* use activity id as unique id for caching
* update cache populate and clear logic
* fix typos
* add exception handling for android data reader util
* fix ios bridge
* add activity and placement fields to util methods
* clean up test app
* update documentation
---------
Co-authored-by: Ishita Gambhir <[email protected]>
0 commit comments