Commit graph

25 commits

Author SHA1 Message Date
Benoit Marty
9567119e31 Ensure Posthog is only used for Element builds. 2024-06-04 17:04:19 +02:00
Valere
ca660de348 Add missing impl in Sentry 2024-05-31 14:07:03 +02:00
Valere
bf6ad4c5ca Analytics | Add support for SuperProperties 2024-05-31 14:07:02 +02:00
Benoit Marty
635a88e585 Cleanup import 2024-05-29 01:54:06 +02:00
Benoit Marty
15dc423345 Add test on DefaultAnalyticsService 2024-05-28 18:27:53 +02:00
Valere
6ad40fc6e0 Code review - more tests 2024-05-07 09:38:26 +02:00
Valere
a761215e31 Add support for Verification state analytics 2024-05-06 19:06:54 +02:00
Benoit Marty
73f80b314f Add extra properties "cryptoSDK" to Error.CryptoSDK.Rust to all events and screen sent to PostHog. 2024-03-15 11:27:53 +01:00
ganfra
66030aeb64 Analytics : add analytics on read status and favorite toggles 2024-02-19 17:38:17 +01:00
Benoit Marty
5d086ad82d Fix moar ktlint issues 2024-01-11 10:02:10 +01:00
renovate[bot]
c8bd362397
Update plugin ktlint to v12.1.0 (#2200)
* Update plugin ktlint to v12.1.0

* Run `./gradlew ktlintFormat` and fix some issues manually.

* Fix other issues reproted by Ktlint

* Limit false positives, KtLint removes unnecessary curly brace in String templates.

* Remove useless Unit

* Minor improvements over ktlint changes

* Restore `AlertDialogContent` behaviour

* Update screenshots

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Benoit Marty <benoit@matrix.org>
Co-authored-by: Jorge Martín <jorgem@element.io>
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-01-10 16:22:24 +01:00
Benoit Marty
2b764a1e56 Migrate to PostHog 3.0.0 2023-12-05 16:12:17 +01:00
Benoit Marty
cbb27cb5e5 Class annotated with @ContributesMultibinding cannot be internal. 2023-09-11 12:03:17 +02:00
Benoit Marty
3ff7b752a1 Ensure Posthog data are sent to "https://posthog.element.io" for release build. 2023-09-11 11:35:19 +02:00
jonnyandrew
c44b7eb81c
Fix crash in error tracking (#1248) 2023-09-07 15:05:11 +02:00
Benoit Marty
4e41566847 Use dns for element-x-android project. 2023-07-24 11:36:51 +02:00
Benoit Marty
9d9a0c744e Disable Sentry auto-init 2023-07-21 19:28:52 +02:00
Benoit Marty
c1d6c0c360 Implement Sentry module as an AnalyticsProvider. 2023-07-21 18:58:10 +02:00
Benoit Marty
69dcd47e22 Update tag value and make it internal. 2023-07-21 18:35:47 +02:00
Benoit Marty
d4156653fd No need to sort AnalyticsProvider (it was copied from PushProvider) 2023-07-21 18:12:17 +02:00
Benoit Marty
2928073e22 Enable detekt rules UnusedImports and cleanup the code. 2023-07-20 18:00:23 +02:00
Benoit Marty
86756dbc09 Enable detekt rules UnusedParameter and UnusedPrivateProperty and cleanup the code. 2023-07-20 17:48:56 +02:00
Benoit Marty
24ece8c454 Enable detekt rule UnusedPrivateMember and cleanup the code. 2023-07-20 17:44:14 +02:00
yostyle
3b4bff61e9 Init or stop posthog based on user consent 2023-06-23 15:57:25 +02:00
Yoan Pintas
f534ecda96 Init analytics modules (#350) 2023-06-05 13:11:34 +00:00