You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Conditionally send installer package pixel if allowed for package (#5076)
Task/Issue URL: https://app.asana.com/0/608920331025315/1208315780180369/f
### Description
### Steps to test this PR
**Testing when remote config is not enabled**
Remote config isn't yet configured, it is effectively remotely disabled at the moment already.
- [x] Fresh install from this branch, launch the app and wait for privacy config to download.
- [x] Verify you do **not** see `m_installation_installer` in the logs
**Testing when package list is wildcarded**
- [x] Apply [Wildcard patch](https://app.asana.com/0/1208420780019923/1208420780019923/f)
- [x] Fresh install from this branch, launch the app and wait for privacy config to download.
- [x] Verify `m_installation_installer` in the logs (it's ok if `package=null`, which it likely will be if installed from the IDE)
- [x] Kill the app and re-launch. Verify you do **not** see `m_installation_installer` in the logs again
**Testing when package list isn't wildcarded, but is a match**
- [x] Apply [Matching package patch](https://app.asana.com/0/1208420780019924/1208420780019924/f), which fakes the extracted installer package to be `a.b.c` and points to a remote config where `a.b.c` is in the list.
- [x] Fresh install, launch the app and wait for privacy config to download.
- [x] Verify `m_installation_installer` in the logs
- [x] Verify`package=a.b.c` is pixel param
Copy file name to clipboardexpand all lines: installation/installation-impl/src/main/java/com/duckduckgo/installation/impl/installer/InstallSourcePrivacyConfigObserver.kt
Copy file name to clipboardexpand all lines: installation/installation-impl/src/test/java/com/duckduckgo/installation/impl/installer/fullpackage/InstallSourceFullPackageStoreImplTest.kt
0 commit comments