Jorge Martin Espinosa
79c17f714f
Use Anvil KSP instead of the Square KAPT one ( #3564 )
...
* Use Anvil KSP instead of the Square KAPT one
* Fix several configuration cache, lint and test issues
* Allow incremental kotlin compilation in the CI
* Workaround Robolectric + Compose issue that caused `AppNotIdleException`
* Update the `enterprise` commit hash
* Update screenshots
---------
Co-authored-by: ElementBot <android@element.io>
1 month ago
Jorge Martin Espinosa
eeec7cc785
Centralise the DI code generation logic ( #3562 )
...
* Create Anvil extension helper
* Use the helper everywhere
1 month ago
Benoit Marty
f89463c3a1
Remove `runCancellableScopeTest` and `runCancellableScopeTestWithTestScope`, we can use `TestScope.backgroundScope` instead.
1 month ago
ganfra
d0f363bf7d
Pinned messages analytics : introduce LocalAnalyticsService so we can easily inject it in views
1 month ago
Benoit Marty
f61df38e55
Migrate license to AGPL.
...
Run script `uv run license-editor --repository ../element-x-android`
2 months ago
Jorge Martin Espinosa
b0cebf5ca0
Improve screenshot testing with ComposablePreviewScanner ( #3125 )
...
* Use ComposablePreviewScanner to rework how screenshot testing works
* Add test sharding
* Update screenshots
* Fixes for Element Gallery
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
Co-authored-by: Benoit Marty <benoit@matrix.org>
4 months ago
Valere
bf6ad4c5ca
Analytics | Add support for SuperProperties
5 months ago
Benoit Marty
7156dab7dc
Make anId a const.
5 months ago
Benoit Marty
15dc423345
Add test on DefaultAnalyticsService
5 months ago
Benoit Marty
5a1896ae3d
Remove dead code `AnalyticsService.onSignOut`.
...
DefaultAnalyticsService is observing the Session.
5 months ago
Benoit Marty
011aba4887
Make AnalyticsStore an interface and create DefaultAnalyticsStore
5 months ago
Benoit Marty
5a0e76677b
Improve ScreenTracker.
7 months ago
Benoit Marty
ef48c2b5a3
Track NotificationTroubleshoot screen
7 months ago
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>
10 months ago
Benoit Marty
d4156653fd
No need to sort AnalyticsProvider (it was copied from PushProvider)
1 year ago
Benoit Marty
7207afebcc
When clearing cache, also reset some data store in prefs/datastore.
1 year ago
yostyle
5c7cd01ba1
Consent thread safe
1 year ago
yostyle
3b4bff61e9
Init or stop posthog based on user consent
1 year ago
Yoan Pintas
f534ecda96
Init analytics modules ( #350 )
1 year ago