android-branch-deep-linking-attribution icon indicating copy to clipboard operation
android-branch-deep-linking-attribution copied to clipboard

[SDK-2459] Implement Consumer Protection Preferences

Open nsingh-branch opened this issue 7 months ago • 0 comments

Reference

SDK-2459 -- [Android] Implement Consumer Protection Preferences

Description

Added a new method for setting the consumer protection preference, setConsumerProtectionPreference. This value can be set and changed at any time, but persists across sessions. This change also deprecated the disableTracking() method since setting the preference to TRACKING_DISABLED will perform the same logic.

Testing Instructions

Use the new method or the new testbed "Consumer Protection Preference" button to change the preference and observe the protection_preference field change in each request.

Risk Assessment [MEDIUM]

It deprecated a frequently used method and replaces it with a new one with some shared logic.

  • [x] I, the PR creator, have tested — integration, unit, or otherwise — this code.

Reviewer Checklist (To be checked off by the reviewer only)

  • [ ] JIRA Ticket is referenced in PR title.
  • Correctness & Style
    • [ ] Conforms to AOSP Style Guides
    • [ ] Mission critical pieces are documented in code and out of code as needed.
  • [ ] Unit Tests reviewed and test issue sufficiently.
  • [ ] Functionality was reviewed in QA independently by another engineer on the team.

cc @BranchMetrics/saas-sdk-devs for visibility.

nsingh-branch avatar Jun 25 '24 23:06 nsingh-branch