Skip to content
This repository was archived by the owner on Feb 24, 2025. It is now read-only.

Conversation

@samsymons
Copy link
Collaborator

Task/Issue URL: https://app.asana.com/0/0/1205320853523387/f
Tech Design URL:
CC: @SlayterDev

Description:

This PR updates the privacy config feature flag tester to not cache the config so aggressively.

Because of the previous behaviour, this class wouldn't get privacy config updates until the next time the app launches.

Steps to test this PR:

  1. Add a breakpoint into PhasedRolloutFeatureFlagTester'ssendFeatureFlagEnabledPixelIfNecessary function
  2. Run the app
  3. Check that the breakpoint is hit, and that the function is pulling a dynamic copy of the privacy config

Internal references:

Pull Request Review Checklist
Software Engineering Expectations
Technical Design Template
Pull Request Documentation

Copy link
Contributor

@SlayterDev SlayterDev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@SlayterDev SlayterDev assigned samsymons and unassigned SlayterDev Aug 22, 2023
@samsymons samsymons merged commit 6f74d65 into develop Aug 22, 2023
@samsymons samsymons deleted the sam/avoid-caching-privacy-config branch August 22, 2023 02:11
samsymons added a commit that referenced this pull request Aug 22, 2023
Task/Issue URL: https://app.asana.com/0/0/1205320853523387/f
Tech Design URL:
CC: @SlayterDev

Description:

This PR updates the privacy config feature flag tester to not cache the config so aggressively.

Because of the previous behaviour, this class wouldn't get privacy config updates until the next time the app launches.
samsymons added a commit that referenced this pull request Aug 22, 2023
* release/1.52.3:
  Move pixel sender logic into the main view controller (#1528)
  Update the phased rollout tester to avoid caching the config (#1520)
  Set version to 1.52.3.

# Conflicts:
#	Configuration/Version.xcconfig
samsymons added a commit that referenced this pull request Aug 22, 2023
* main:
  Move pixel sender logic into the main view controller (#1528)
  Update the phased rollout tester to avoid caching the config (#1520)
  Set version to 1.52.3.
diegoreymendez pushed a commit that referenced this pull request Aug 23, 2023
Task/Issue URL: https://app.asana.com/0/0/1205320853523387/f
Tech Design URL:
CC: @SlayterDev

Description:

This PR updates the privacy config feature flag tester to not cache the config so aggressively.

Because of the previous behaviour, this class wouldn't get privacy config updates until the next time the app launches.
samsymons added a commit that referenced this pull request Aug 23, 2023
# By Diego Rey Mendez (7) and others
# Via Sam Symons (2) and others
* develop: (26 commits)
  Improve Sync-related database cleaning logic (#1529)
  Update onboarding-related error states (#1504)
  Prevents launching our menu agent without an auth code. (#1516)
  Autofill UI letter icons (#1535)
  Cleans up some code (#1517)
  Revert "Autofill Letter Icons" (#1534)
  Adds remote pre-commit installer, which includes automatic fix for linter (#1369)
  Autofill Letter Icons (#1475)
  change context menu for mailto links (#1513)
  Updates the version to 1.53.1
  Updated the embedded files for 1.53.1
  Update the phased rollout tester to avoid caching the config (#1520)
  Require Duck Player scheme URL to be passed from YouTube Overlay User Script (#1519)
  Add pixels related to Duck Player usage (#1515)
  only allow error reloads on http(s) urls (#1523)
  Standardize TDS Loading Error handling (#1524)
  Move pixel sender logic into the main view controller (#1528)
  Update the phased rollout tester to avoid caching the config (#1520)
  Set version to 1.52.3.
  Move pixel sender logic into the main view controller (#1528)
  ...

# Conflicts:
#	DuckDuckGo.xcodeproj/project.pbxproj
#	DuckDuckGo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved
#	DuckDuckGo/AppDelegate/AppDelegate.swift
#	DuckDuckGo/Common/Localizables/UserText.swift
#	DuckDuckGo/Common/Utilities/UserDefaultsWrapper.swift
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants