Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable SERP promo for PPro #5239

Merged
merged 2 commits into from
Nov 8, 2024
Merged

Enable SERP promo for PPro #5239

merged 2 commits into from
Nov 8, 2024

Conversation

aitorvs
Copy link
Collaborator

@aitorvs aitorvs commented Nov 5, 2024

Task/Issue URL: https://app.asana.com/0/1198194956794324/1208264562025856/f

Description

Enable SERP Promo for PPro

Steps to test this PR

Test

  • clean install from this branch
  • filter logcat by privacy_pro_access_token
  • launch the app
  • veriry Setting cookie privacy_pro_access_token=; for domain .subscriptions.duckduckgo.com logcat shows
  • open tab and navigate to https://subscriptions.duckduckgo.com (this page doesn't exist)
  • open chrome dev tools (chrome://inspect/#devices) in your desktop and inspect the webview
  • verify the privacy_pro_access_token is set for .subscriptions.duckduckgo.com with empty value
  • open tab and open duckduckgo.com
  • open chrome dev tools (chrome://inspect/#devices) in your desktop and inspect the webview
  • verify the privacy_pro_access_token is NOT set
  • go to settings -> sbyscription dev settings and recover your existing account
  • open tab and navigate to https://subscriptions.duckduckgo.com (or refresh an already open one)
  • open chrome dev tools (chrome://inspect/#devices) in your desktop and inspect the webview
  • verify the privacy_pro_access_token is set for .subscriptions.duckduckgo.com with token value
  • open tab and open duckduckgo.com
  • verify the privacy_pro_access_token is NOT set
  • remove the PPro account from this device
  • open tab and navigate to https://subscriptions.duckduckgo.com (or refresh an already open one)
  • verify the privacy_pro_access_token is set for .subscriptions.duckduckgo.com with empty value

Copy link
Collaborator Author

aitorvs commented Nov 5, 2024

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @aitorvs and the rest of your teammates on Graphite Graphite

@aitorvs aitorvs force-pushed the feature/aitor/ppro/serp-promo branch from cc12af3 to a03a28e Compare November 5, 2024 22:08
@aitorvs aitorvs force-pushed the feature/aitor/ppro/serp-promo branch 3 times, most recently from 2a32cc6 to da56b7b Compare November 6, 2024 14:05
@aitorvs aitorvs force-pushed the feature/aitor/ppro/serp-promo branch 3 times, most recently from 2fb6e4b to 32c03fe Compare November 6, 2024 16:02
@aitorvs aitorvs force-pushed the feature/aitor/ppro/serp-promo branch from 32c03fe to eb60a25 Compare November 7, 2024 14:19
Copy link
Contributor

@marcosholgado marcosholgado left a comment

Choose a reason for hiding this comment

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

Works as expected, left a few comments re the CookieManagerWrapperImpl but nothing major.

}
private class CookieManagerWrapperImpl constructor() : CookieManagerWrapper {

private val cookieManager: CookieManager by lazy { CookieManager.getInstance() }
Copy link
Contributor

Choose a reason for hiding this comment

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

There's already a CookieManagerProvider, perhaps we should use that one to get the instance?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

will do

@aitorvs aitorvs merged commit 42b8298 into develop Nov 8, 2024
6 checks passed
@aitorvs aitorvs deleted the feature/aitor/ppro/serp-promo branch November 8, 2024 13:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants