Closed nsingh-branch closed 1 week ago
Add link to automation PR when ready
Can you change the PR branch base to point to the proper one? Right now it's comparing nidhi's changes to master
Closing for now, will re-open when the feature is ready for release.
Reference
SDK-2323 -- SDK support for Attribution Reporting API Automation PR
Description
Added a new class to support the Android Attribution Reporting API. The file has two methods, one for checking if the measurement API is enabled in the app, and one for registering triggers. I've also made updates to the TestBed to enable the new API.
checkMeasurementApiStatus()
check the Android SDK version and the checks theMEASUREMENT_API_STATE_ENABLED
and saves it to a bool so it can be reused throughout the session.registerTrigger()
created a trigger URL using various device information and then registers it with theMeasurementManager().registerTrigger()
method.In Progress:
Testing Instructions
Currently, sending a BranchEvent will call registerTrigger with the event name as the conversion ID. This will log out the generated trigger URL, if the measurement API is enabled.
Risk Assessment [
MEDIUM
]Adds new code to frequently called areas of the SDK and references a new library.
Reviewer Checklist (To be checked off by the reviewer only)
cc @BranchMetrics/saas-sdk-devs for visibility.