-
Notifications
You must be signed in to change notification settings - Fork 937
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
Conversation
Current dependencies on/for this PR:
This comment was auto-generated by Graphite. |
a735d22
to
22bc2f5
Compare
@@ -0,0 +1,63 @@ | |||
/* | |||
* Copyright (c) 2021 DuckDuckGo |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* Copyright (c) 2021 DuckDuckGo | |
* Copyright (c) 2023 DuckDuckGo |
@@ -0,0 +1,35 @@ | |||
/* | |||
* Copyright (c) 2021 DuckDuckGo |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* Copyright (c) 2021 DuckDuckGo | |
* Copyright (c) 2023 DuckDuckGo |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm and tested 👍
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
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
user agent is
digid.nl
, UA should not have the duckduckgo componentmarvel.com
UA should not have the duckduckgo component or versionwhitepages.com
UA should not have the version componentreddit.com
UA should be the WebView defaultduckduckgo.com
UA should be our custom one