Commit Graph

32 Commits (f10bfb7e16a76987bfb632170b3f66599678889d)

Author SHA1 Message Date
Jeff Boek f10bfb7e16 For #13229 - Cache deviceId for reuse 4 years ago
liuche 12694008ac
For #11664 — Fixup MissingResourceExceptions being thrown in exotic Locales (#13124) (#13138)
Our kotlin code is not catching the `MissingResourceException` in the `LeanplumMetricsService` which results in the app crashing when the locale isn't known by the device.

Catches the exception, and falls back to the ISO 639 language code. This isn't a great solution, because ISO 639 isn't especially stable.

In practice however this is almost certainly never going to be a problem because Leanplum isn't going to be supported in such exotic locales.

In this case, using the ISO 639 language code allows the error message to be more informative.

Co-authored-by: jhugman <jhugman@users.noreply.github.com>
4 years ago
Harshal Lele e318cd7d15 fix #8135 - remove getColorFromAttr 4 years ago
MarcLeclair 41f9311e20
For #7448: Move LP to IO dispatcher (#8558) 4 years ago
Jeff Boek 127169f5ff For mozilla-mobile#8172: Add a new 'E_Fennec_To_Fenix_Migrated' Leanplum event
This new event will be sent when the user has successfully migrated from Fennec
to Fenix.
This event will only be sent to Leanplum and not to the other telemetry
services like Glean or Adjust.

Co-authored-by: ValentinTimisica <valentin.timisica@softvision.ro>
4 years ago
ValentinTimisica 33616e0042 For #8172: Add a new "Fenix" Leanplum attribute 4 years ago
Jeff Boek 952c48c8ce For #4674 - Adds ability to toggle metric services by type 4 years ago
Jeff Boek 9f3faa43fe For #4674 - Adds marketing data as a collection choice 4 years ago
Mugurell 6d44ceceda For #6836 - Limit Leanplum depending on current locale. 4 years ago
Tiger Oakes 8c30200ced Only use Context.settings() function (not getter) (#5335)
Remove unused String extensions
5 years ago
Tiger Oakes 284cbab9ea Use .orEmpty() 5 years ago
Mihai Adrian a31eb1f371 Code Health #4883: Refactored accessing settings by using Context extensions (#4973) 5 years ago
Sawyer Blatz 09ed721015 For #4969: Removes erroneous FxA sign up ping (#4970) 5 years ago
Tiger Oakes 79e58250fc Make `Settings.instance` private 5 years ago
Sawyer Blatz 0d4eceed56 For #2706: Refactor Glean to reduce errors (#4753)
* For #2706: Adds recording for untracked events

* For #2706: Adds key alignment to Metrics
5 years ago
Sawyer Blatz b7ca520787 For #4421: Adds Leanplum events and attributes (#4626)
* For #4421: Adds Leanplum events and attributes

* For #4421: Adds Leanplum deep links
5 years ago
Yeon Taek Jeong 67f3b63ae5
For #4421: Add search widget attribute to Leanplum (#4694) 5 years ago
Christian Sadilek e26570054a Suppress warning in LeanplumMetricsService to fix release builds 5 years ago
Sawyer Blatz 4566bd6fba Fixes feedback 5 years ago
Sawyer Blatz 4d14735935 For #3060: Adds Leanplum attributes for fxa syncing 5 years ago
Tiger Oakes ef8d9604ae No issue: Normalize license header comment (#3909) 5 years ago
Jeff Boek 3b848393f7 For #981 - Adds link to mma.md to telemetry.md 5 years ago
Jeff Boek 45b096c84f For #981 - mma docs 5 years ago
Jeff Boek f323c38be0 For #981 - Adds missing Leanplum events 5 years ago
Jeff Boek c5205b6236 For #945 - Disable leanplum when we stop telemetry 5 years ago
Jeff Boek 5764450e34 For #1036 - Adds Glean metrics for find in page 5 years ago
Sawyer Blatz 471b08d97a Closes #1194: Adds shortcut telemetry 5 years ago
Jeff Boek 32f8e06e98 For #959 - Adds search related telemetry 5 years ago
Jeff Boek 786592e8d0 For #959 - Adds telemetry for when the search bar is tapped 5 years ago
Jeff Boek 644e88dacb For #965 - Uses proper initialization call depending on the key type 5 years ago
Jeff Boek fcb75aaa53 No Issue - Fixes crash when no valid .leanplum_token is present 5 years ago
Jeff Boek 9dc0b4781a Fixes #965 - Adds a metrics wrapper for telemetry 5 years ago