Commit Graph

72 Commits (6d6939bce9d9f759b8ddd0ded40d623a2e302daf)

Author SHA1 Message Date
Jeff Boek 215c6bad39 Bug 1851676 - Makes `initIfNeeded` public inside `SentryService`.
(cherry picked from commit 16a37cf474e00f46281adeb06f81e1e0f5f6cd4e)
8 months ago
Arturo Mejia 20f3002e80 Bug 1839239 - Add crash bread crumbs for dialogs. 10 months ago
Roger Yang e1bc5bb554 Bug 1838512 - Move Browsers Cache utility into Android Components 11 months ago
James Hugman b02c292c8f Bug 1832069 - Add Google Play install referrer library 1 year ago
mcarare 0e9c8897ad Bug 1796348 - Add a notification delegate to CrashReporter.
The CrashReporter will now show notifications through the notification delegate.
1 year ago
Titouan Thibaud e9246a0aa3 Bug 1805683 - upstream Nimbus Messaging from Fenix to Android Components 1 year ago
MatthewTighe 96e95ad1fb [fenix] Bug 1812204 - Add usage growth data event 1 year ago
MatthewTighe 088055743c [fenix] For https://github.com/mozilla-mobile/fenix/issues/27698: add set as default growth data 2 years ago
Gabriel Luong 1ec4cf8dad [fenix] For https://github.com/mozilla-mobile/fenix/issues/27667 - Remove import-ordering from the list of disabled ktlint rules 2 years ago
mcarare 932823c871 [fenix] For https://github.com/mozilla-mobile/fenix/issues/26844: Fix ktlint issues and remove them from baseline. 2 years ago
CHAN, Chak Shing 2b3e9ce6b4 [fenix] For https://github.com/mozilla-mobile/fenix/issues/25183 - Update the Sentry base URL
Update the Sentry base URL to use the new instance
2 years ago
jhugman df4ea50387 [fenix] Change FxNimbus/Nimbus startup sequence (https://github.com/mozilla-mobile/fenix/pull/25266)
* Change FxNimbus initialization sequence

Add cache invalidation

* Change ordering of message restoration and Nimbus initialization

* Address reviewer comments
2 years ago
Arturo Mejia 82a0a4f1f0 [fenix] Revert "Change FxNimbus initialization sequence (https://github.com/mozilla-mobile/fenix/pull/25089)"
This reverts commit b7427874e73ebaad5f8553b7a8614a7babdc8baa.
2 years ago
jhugman 5beb1da884 [fenix] Change FxNimbus initialization sequence (https://github.com/mozilla-mobile/fenix/pull/25089)
* Change FxNimbus initialization sequence

* Add cache invalidation
2 years ago
Alexandru2909 1e918950c2 [fenix] For https://github.com/mozilla-mobile/fenix/issues/24811 - Remove Event.wrapper for Messaging telemetry 2 years ago
jhugman ed086b6f71 [fenix] Add defaults to FML, add control behaviour 2 years ago
Grigory Kruglov 865dbed96a [fenix] Do not report caught exceptions to Sentry on release channel 2 years ago
Arturo Mejia 36eeae0c0f [fenix] For https://github.com/mozilla-mobile/fenix/issues/24222: Persist user interactions with nimbus messages 2 years ago
Arturo Mejia 09d6b80724 [fenix] For https://github.com/mozilla-mobile/fenix/issues/24224: Send telemetry events related to the messaging framework 2 years ago
Jonathan Almeida 70014e589a [fenix] For https://github.com/mozilla-mobile/fenix/issues/24220 and https://github.com/mozilla-mobile/fenix/issues/24223: Connect GleanPlumb messages with the new tab ui card.
Co-authored-by: Jonathan Almeida <jalmeida@mozilla.com>
2 years ago
Arturo Mejia 1855539ab4 [fenix] For https://github.com/mozilla-mobile/fenix/issues/23489: Update SentryService reference to use the latest Sentry SDK. 2 years ago
Arturo Mejia d2d23d32e0 [fenix] For https://github.com/mozilla-mobile/fenix/issues/23489: Update SentryService reference to use legacy component. 2 years ago
Matt Tighe 6a2924b039 [fenix] closes https://github.com/mozilla-mobile/fenix/issues/23727: Add a fenix.git tag of the current hash to Sentry reports 2 years ago
jhugman 9b651a484b [fenix] First use of Nimbus FML plugin (https://github.com/mozilla-mobile/fenix/pull/23400)
* Consume Nimbus FML plugin

* Convert Homescreen to use FML

* Convert nimbusValidation to use FML

* Convert legacy experiments to use the feature API and FML

Remove dead helper code and documentation

* Fixup failing test

Co-authored-by: Grisha Kruglov <gkruglov@mozilla.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2 years ago
Sarah541 5185773477 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22576 - Indicate mutability flag for PendingIntent
* For https://github.com/mozilla-mobile/fenix/issues/22576 - Indicate mutability flag for PendingIntent

* Fix lint issues

* Make Analytics Pending Intent flag mutable

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2 years ago
rxu a8084ee002 [fenix] Pass distribution_id to Socorro crash report 2 years ago
Grisha Kruglov 4ad2c1c592 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22569: Remove allopen plugin and Mockable annotations 2 years ago
Arturo Mejia 8a4bb26526 [fenix] For https://github.com/mozilla-mobile/fenix/issues/21618: Integrate Nimbus with MR2 Home Page to enable experimentation 3 years ago
Gabriel Luong e24a4cdb42 [fenix] For https://github.com/mozilla-mobile/fenix/issues/19746 - Remove FeatureFlags.nimbusExperiments (https://github.com/mozilla-mobile/fenix/pull/19771) 3 years ago
Roger Yang 2d709b67a7 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/19147: Move startup metrics to right after Glean initialization (https://github.com/mozilla-mobile/fenix/pull/19252) 3 years ago
Sebastian Kaspari 7c11a19369 [fenix] Issue https://github.com/mozilla-mobile/fenix/issues/19040: Remove Leanplum (Nightly) 3 years ago
Roger Yang 1569a8ce76 [fenix] For https://github.com/mozilla-mobile/fenix/issues/17644: Always update add-on's telemetry values before sending metric ping (https://github.com/mozilla-mobile/fenix/pull/18529) 3 years ago
jhugman ccbf4d2815 [fenix] Re-enable Nimbus with Off the main thread I/O and non-blocking networking (https://github.com/mozilla-mobile/fenix/pull/17684)
* Moved Nimbus setup from Analytics to its own file

* Change experiment identifiers to fit new run of the experiment

* Re-enable nimbus for debug and nightly builds

* ./gradlew ktlint && detekt
3 years ago
MickeyMoz fc7ac1ae23 [fenix] Update Android Components version to 73.0.20210129195412. 3 years ago
jhugman 152e140c55 [fenix] SDK-158 Use disabled/no-op version of Nimbus object to eliminate unnecessary Rust call (https://github.com/mozilla-mobile/fenix/pull/17372) r=christian 3 years ago
jhugman 6c27e44fa1 [fenix] No bug- protect nimbus init from StrictMode (https://github.com/mozilla-mobile/fenix/pull/17033) r=christian 3 years ago
jhugman 6210ff136d [fenix] Fixes https://github.com/mozilla-mobile/fenix/issues/16948: call nimbus.updateExperiments on startup (https://github.com/mozilla-mobile/fenix/pull/16950) r=gl 3 years ago
Sebastian Kaspari 89b697a9bd [fenix] Update Android Components to 69.0.20201207103252. 3 years ago
jhugman 1c0e70d647 [fenix] Nimbus-SDK-119 Get Nimbus server endpoint at build time. (https://github.com/mozilla-mobile/fenix/pull/16682)
This PR builds on [AC#https://github.com/mozilla-mobile/fenix/pull/9024][1], and implements setting the Nimbus endpoints from [a secret set at build time][2].

For production use, this requires a secret named `nimbus_url` to be put into CI.

Note: Nimbus is currently behind a feature flag.

If developers wish to use a Nimbus server for local development, you can set the url by adding an entry into local.properties, e.g.:

```
nimbus.remote-settings.url=https://settings.stage.moz4ws.net
```

Without setting server, Nimbus will be able to function, except no experimental definitions will be fetched, and features under experiment will be configured as if not enrolled in the experiment.

[1]: https://github.com/mozilla-mobile/android-components/pull/9024
[2]: https://groups.google.com/a/mozilla.com/g/android-components-team/c/lAGVKQy8aiA/m/rY3uGAwhBAAJ
4 years ago
Sebastian Kaspari d50140272a [fenix] Integrate new search code from Android Components into Fenix. 4 years ago
MickeyMoz 6a02e68f96 [fenix] Update Android Components version to 68.0.20201120125142. 4 years ago
jhugman d001a5aa36 [fenix] Nimbus Global Opt Out (https://github.com/mozilla-mobile/fenix/pull/16543) r=gl 4 years ago
Michael Comella 3879697c06 [fenix] For https://github.com/mozilla-mobile/fenix/issues/15279: replace lazy with lazyMonitored in component groups.
By component groups, I mean I applied this to any class with the
class kdoc, "Component group for...".

There are a few instances of lazy we had to keep using the old API to
avoid having to update constructor arguments.
4 years ago
Jeff Boek d81eff94bd [fenix] For https://github.com/mozilla-mobile/fenix/issues/15593 - Reverts back to simple UUID creation without Fenix side caching 4 years ago
Michael Comella 8a9472e540 [fenix] For https://github.com/mozilla-mobile/fenix/issues/13959: move resetAfter into StrictModeManager.
In a followup PR, we need to add state to strictModeManager (the
number of suppressions). This is much simpler to do when this is defined
as a class rather than an object. However, when this is defined as a
class, `resetAfter` needs access to the strictModeManager. Instead of
passing it in as an argument, it made sense to move this function onto
the strictModeManager instead.

Since folks are used to calling:
```
StrictMode.ThreadPolicy.allowThreadDiskReads().resetAfter
```

We're going to have to add a lint check to prevent them from doing that.
4 years ago
Sebastian Kaspari 0f7251593e [fenix] Validate deep links. 4 years ago
Sebastian Kaspari 2875338740 [fenix] Simplify build variants to just: debug, nightly, beta and release.
Co-authored-by: Johan Lorenzo <jlorenzo@mozilla.com>
4 years ago
Johan Lorenzo 13e8560acf [fenix] Bug 1652979 - Stop producing fennecNightly, fenixNightly and fenixBeta (https://github.com/mozilla-mobile/fenix/pull/12225) 4 years ago
Tiger Oakes 5b0863076e [fenix] Add tests for ext package (https://github.com/mozilla-mobile/fenix/pull/11334) 4 years ago
Roger Yang c45d360a50 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/10980: Stop sending native crashes to Sentry (https://github.com/mozilla-mobile/fenix/pull/10982) 4 years ago