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

Create ua module and move ua classes #3542

Merged
merged 1 commit into from
Sep 18, 2023

Conversation

marcosholgado
Copy link
Contributor

@marcosholgado marcosholgado commented Sep 15, 2023

Task/Issue URL: https://app.asana.com/0/488551667048375/1205489571133516/f

Description

This PR moves the ua provider and plugin to its own module

Steps to test this PR

  • With internal flavour test that all the UA are correctly set.
  • Filter the logcat by user agent is
  • Go to digid.nl, UA should not have the duckduckgo component
  • Go to marvel.com UA should not have the duckduckgo component or version
  • Go to whitepages.com UA should not have the version component
  • Go to reddit.com UA should be the WebView default
  • Go to duckduckgo.com UA should be our custom one

@marcosholgado
Copy link
Contributor Author

Current dependencies on/for this PR:

This comment was auto-generated by Graphite.

@marcosholgado marcosholgado force-pushed the feature/marcos/create_ua_module branch from a735d22 to 22bc2f5 Compare September 15, 2023 12:11
@@ -0,0 +1,63 @@
/*
* Copyright (c) 2021 DuckDuckGo
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
* Copyright (c) 2021 DuckDuckGo
* Copyright (c) 2023 DuckDuckGo

@@ -0,0 +1,35 @@
/*
* Copyright (c) 2021 DuckDuckGo
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
* Copyright (c) 2021 DuckDuckGo
* Copyright (c) 2023 DuckDuckGo

Copy link
Contributor

@joshliebe joshliebe left a comment

Choose a reason for hiding this comment

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

lgtm and tested 👍

@marcosholgado marcosholgado merged commit 88c6221 into develop Sep 18, 2023
@marcosholgado marcosholgado deleted the feature/marcos/create_ua_module branch September 18, 2023 22:10
joshliebe pushed a commit that referenced this pull request Nov 7, 2023
Task/Issue URL: https://app.asana.com/0/488551667048375/1205489571133516/f

### Description
This PR moves the ua provider and plugin to its own module

### Steps to test this PR

- [x] With internal flavour test that all the UA are correctly set.
- [x] Filter the logcat by `user agent is`
- [x] Go to `digid.nl`, UA should not have the duckduckgo component
- [x] Go to `marvel.com` UA should not have the duckduckgo component or
version
- [x] Go to `whitepages.com` UA should not have the version component
- [x] Go to `reddit.com` UA should be the WebView default
- [x] Go to `duckduckgo.com` UA should be our custom one
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