mozilla-mobile/firefox-ios

[Glean] Migrate TermsOfUseTelemetry to use the GleanWrapper instead

Open

#29.805 aperta il 3 ott 2025

Vedi su GitHub
 (4 commenti) (0 reazioni) (0 assegnatari)Swift (3203 fork)batch import
Contributor OKGood first issue

Metriche repository

Star
 (12.950 star)
Metriche merge PR
 (Merge medio 2g 7h) (234 PR mergiate in 30 g)

Descrizione

:rocket: Context

TermsOfUseTelemetry is recording telemetry events with the concrete Glean implementation. We don't want this anymore. More on telemetry tests here.

:memo: Description

  • Use the GleanWrapper inside TermsOfUseTelemetry and replace calls to each GleanMetrics. with the corresponding API.
  • TermsOfUseTelemetryTests should be adjusted so we pass a MockGleanWrapper and assert accordingly.

:information_source: Reference Person

lmarceau

┆Issue is synchronized with this Jira Task

Guida contributor