Benoit Marty
55db8fb200
Only call setupKover() for the app, not for minimal.
...
minimal does not have the gplay variant.
10 months ago
Benoit Marty
df9f6a9809
Cleanup
10 months ago
Benoit Marty
31fe516a49
Ensure that FDroid build will not include Firebase push provider.
...
`allLibrariesImpl()` is also used by the midule uitest, and in this case `gplayImplementation` cannot be found. Since the push provider modules do not contain any ui, it's fine to move the dependency declaration to the app module.
10 months ago
Benoit Marty
db6b52f8bf
Update gradle tasks and paths regarding the new gplay and fdroid flavor.
10 months ago
Benoit Marty
fa05b18d32
Create gplay and fdroid variant
10 months ago
Jorge Martin Espinosa
f281c6c365
Don't apply Kover to projects with AAR libraries ( #2211 )
...
* Don't apply Kover to projects with AAR libraries
* Move the Kover configuration to the `plugins` project
10 months ago
Benoit Marty
a831f05f6e
Fix ktlint issues
10 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
371065bfdd
Exclude `ContentToPreview` from coverage, either by using annotation @ExcludeFromCoverage , or by inlining it.
10 months ago
Benoit Marty
b4481dc2a8
Fix the wrong coverage report
...
It wasn't taking into account any test result from the debug runs or screenshot tests
Co-authored-by: Jorge Martin Espinosa <jorgem@element.io>
10 months ago
Benoit Marty
80c69e7cf7
Migrate "When running on the CI, run only debug test variants".
...
Following notice here: https://github.com/Kotlin/kotlinx-kover/blob/v0.7.0/docs/gradle-plugin/migrations/migration-to-0.7.0.md#using-isdisabled-boolean-is-an-error-kover-test-task-config-was-removed
10 months ago
Benoit Marty
3b06576d21
Upgrade Kover to 0.7.5
10 months ago
Jorge Martín
e63eb3a7dc
Fix crash when sending image with latest posthog
10 months ago
Jorge Martin Espinosa
5980eb2ad2
Upgrade to AGP 8.2.0 ( #2142 )
...
* Upgrade to AGP 8.2.0
Add proguard rule for the problematic TagSoup library. For some reason, adding this in the consumer proguard rules of the RTE library doesn't seem to work.
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
10 months ago
Jorge Martin Espinosa
7fdba39d6d
Disable vector XML rasterisation on API 23 ( #2128 )
...
* Disable vector XML rasterisation on API 23
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
10 months ago
Benoit Marty
63d51c5cf5
Send the tracing configuration with the rageshake data.
11 months ago
Marco Romano
f186a85ed0
Rename params in NodeFactories for clarity ( #1916 )
...
- `context` is now `buildContext` to reflect that it's of type `BuildContext` (and not an android `Context`).
- `NODE` generic type param is now `N` to stick with Java convention: https://docs.oracle.com/javase/tutorial/java/generics/types.html .
11 months ago
Jorge Martin Espinosa
087d2728d5
Extract compound tokens and theming to `compound-android` library ( #1888 )
...
* Replace tokens & icons with the external Compound ones
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
11 months ago
Benoit Marty
d55282a775
Add test for IntentProviderImpl
11 months ago
Benoit Marty
68f9c81628
Let the user choose theme ( #1499 )
12 months ago
Marco Romano
28f4ccdf9f
Delete media caches on startup ( #1807 )
...
Clear media caches on app startup
12 months ago
Benoit Marty
2aa92b655c
Format comment
12 months ago
ganfra
b4a19b91d9
#1806 fix compilation
12 months ago
ganfra
97bbc37f6c
LockScreen : avoid removing from composition the LoggedInFlowNode.Children when LockScreen is displayed.
12 months ago
Marco Romano
a5f76da204
Remove lateinit from Application class
...
Just stumbled in this lateinit and thought we could just get rid of it.
12 months ago
Benoit Marty
5850f5342d
Move Knit to Gradle catalog and use alias(libs.plugins.kotlin.serialization). Fix issue with JNA
12 months ago
Benoit Marty
067734ecb9
Move appdistribution declarations to Gradle catalog
12 months ago
ganfra
5a417ba498
LockScreen : refact some code and add secureFlag
12 months ago
ganfra
6832b1f2db
Feature/fga/biometric unlock ( #1702 )
...
* Biometric unlock : refactor a bit existing classes
* Biometric unlock : first implementation
* Biometric: add ui for biometric setup
* Biometric unlock : use localazy strings
* Biometric unlock setup : branch skip/allow events
* Biometric : fix tests
* Biometrics: add small test
* Biometric : clean up
* Update screenshots
* Biometric unlock : address some PR review
* Biometric : improve a bit edge cases
* Fix lint issues
---------
Co-authored-by: ganfra <francoisg@element.io>
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
Co-authored-by: Jorge Martín <jorgem@element.io>
1 year ago
renovate[bot]
515dca86b6
Update plugin com.google.firebase.appdistribution to v4.0.1 ( #1656 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 year ago
ganfra
fdd9396089
Pin: add tests and make LockScreenConfig an injectable data class
1 year ago
Marco Romano
33f5c8efb8
Add global `context.cacheDir` provider. ( #1606 )
...
## Type of change
- [ ] Feature
- [ ] Bugfix
- [x] Technical
- [ ] Other :
## Content
Dagger now provides the app's `cacheDir` when requesting a `@CacheDirectory File` type.
## Motivation and context
To support some upcoming code that needs the `cacheDir` to be changed during tests.
1 year ago
Marco Romano
79d2941fe4
Include desugaring lib also in library modules ( #1604 )
...
## Type of change
- [ ] Feature
- [ ] Bugfix
- [x] Technical
- [ ] Other :
## Content
Includes the `coreLibraryDesugaring(libs.android.desugar)` dependency in all modules which use one of our gradle plugins.
## Motivation and context
Right now desugaring is enabled also in library modules but the desugar dependency is not included in those.
This causes some unwanted side effects such as being unable to run compose previews in an emu.
This change will also include the desugar dependency in those libraries.
1 year ago
Benoit Marty
c0aa70f7f6
Move konsist test to their own module.
1 year ago
Benoit Marty
634095c43a
Konsist: add test for Events
1 year ago
Benoit Marty
7389748f3e
Konsist: add rule obout test class name, and fix existing issue
1 year ago
Benoit Marty
8f8a5746e5
Konsist: add test about PreviewParameterProvider class name and fix existing issues.
1 year ago
Benoit Marty
65b83bf266
Konsist: add test to check Node class name.
1 year ago
Benoit Marty
c5fbb9d297
Split Konsist test into multiple files
1 year ago
Benoit Marty
7c5a41f03d
Konsist: no field should have 'm' prefix, and fix new detected issues.
1 year ago
Benoit Marty
4338d821e5
Konsist: improve test about no default value for State classes, and fix new detected issues.
1 year ago
Benoit Marty
001bc219aa
Rename some test
1 year ago
Benoit Marty
0bc2020411
Konsist: add test Function which creates Presenter in test MUST be named 'createPresenterName', and fix existing issues
1 year ago
Benoit Marty
d55df22db2
Konsist: add test Data class state MUST not have default value, and fix existing issues
1 year ago
Benoit Marty
8929a90970
Konsist: add test to ensure filename match top level Composable View, and fix existing issue
1 year ago
Benoit Marty
6e5caebc60
Add some Konsist test.
1 year ago
Marco Romano
794ad4ab95
Switch off `enableOnBackInvokedCallback` due to androidx bug ( #1517 )
...
Switch off `enableOnBackInvokedCallback` until https://issuetracker.google.com/issues/271303558 is fixed.
Fixes https://github.com/vector-im/element-x-android/issues/1461
1 year ago
Benoit Marty
97122193a5
App icon: Increase foreground ratio from 64 to 66%.
1 year ago
Benoit Marty
55a9d30b99
Format file.
1 year ago
Benoit Marty
949a24560f
Import network-security-config.xml file from EA.
1 year ago