-
Notifications
You must be signed in to change notification settings - Fork 934
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
Add support for privacy config v4 #3664
Conversation
Current dependencies on/for this PR:
This comment was auto-generated by Graphite. |
eb1d5af
to
2c91eee
Compare
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. Tested and also worked as expected.
data class AdClickAttributionFeature( | ||
val state: String, | ||
val minSupportedVersion: Int?, | ||
val settings: AdClickAttributionSettings, | ||
val exceptions: List<AdClickAttributionException>, | ||
val exceptions: List<FeatureException>, |
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.
Nit: to be clear, this is fine.
It feels odd for now because all these features (ad-click) etc related to the privacy-config
module but take the model from the feature-toggles
module.
No need to change, just a comment
@@ -31,6 +31,7 @@ kotlin { | |||
} | |||
|
|||
dependencies { | |||
implementation project(path: ':feature-toggles-api') |
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.
Yeah, that's what I was saying before. Maybe we want a PrivacyConfigException
instead of using the FeatureException
.
No strong opinions tbh. I think long term we want to migrate everything to use the feature-toggles module
2c91eee
to
626ced6
Compare
Task/Issue URL: https://app.asana.com/0/1202552961248957/1205690187399816/f ### Description Add support for remote config v4 ### Steps to test this PR _Update_ - [ ] Install from develop - [ ] Check the DB for the different features (privacy_config.db, autoconsent, autofill, cookies, etc). Go to the different exceptions tables and seen that the column for reasons has content - [ ] Update from this branch - [ ] The app should not crash - [ ] Check the DBs and the reason column should now be null but domains should still be there. _New install_ - [ ] Install from this branch - [ ] The app should not crash - [ ] Check the DBs and the reason column should now be null but domains should still be there. _Tests_ - [ ] Privacy Tests should pass, see https://github.com/duckduckgo/Android/actions/runs/6510081560
Task/Issue URL: https://app.asana.com/0/1202552961248957/1205690187399816/f
Description
Add support for remote config v4
Steps to test this PR
Update
New install
Tests