Refactor MarketingAttributionService to allow reusing it for RTAMO
Categories
(Firefox for Android :: Onboarding, task)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox152 | --- | fixed |
People
(Reporter: petru, Assigned: petru)
References
(Blocks 1 open bug)
Details
(Whiteboard: [fxdroid][group3])
Attachments
(2 files)
Bug 2028867 showed that we already have MarketingAttributionService which uses Google's InstallReferrerClient to infer where Fenix was installed from.
Since InstallReferrerClient is a heavy and sometimes slow service we should not use multiple separate instances of it but rather use the same instance to get the referrer data only once and then use this data for inferring various scenarios.
The goal of this ticket is to support refactoring MarketingAttributionService to a generic service that can be reused for inferring both attribution scenarios
- marketing scenarios
- Mozilla's own AMO webpage.
Updated•1 month ago
|
| Assignee | ||
Comment 1•1 month ago
|
||
Renamed this class separately from further changes to ensure that git will not
treat the combined actions as producing an entirely new file.
| Assignee | ||
Comment 2•1 month ago
|
||
Same functionality and code, just moved to different places.
In preparation of using InstallReferrerHandlingService for multiple scenarios
this patch extract the functionality of inferring the marketing attribution
details to a separate MarketingAttributionHandler.
Comment 4•21 days ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/31ff72a11b03
https://hg.mozilla.org/mozilla-central/rev/01753c82fd77
Description
•