Jorge Martin Espinosa
366db4791b
Upgrade Kotlin to v2.0 ( #3594 )
...
* Bump Kotlin to v2.0
* Fix lots of issues due to the upgrade: lint issues, function signature incompatibilities, broken tests, etc.
---------
Co-authored-by: Benoit Marty <benoit@matrix.org>
3 weeks 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
e9a898ff82
Cleanup
1 month ago
bmarty
bb0a281342
Sync Strings from Localazy
1 month ago
Benoit Marty
375ac25d8d
Migrate license to AGPL - XML files.
2 months ago
Benoit Marty
f61df38e55
Migrate license to AGPL.
...
Run script `uv run license-editor --repository ../element-x-android`
2 months ago
Benoit Marty
90af83b3ea
Fix the test according to the behavior change.
2 months ago
Benoit Marty
4b7c13dac8
Let UnifiedPushProvider use UnifiedPushCurrentUserPushConfigProvider
2 months ago
Benoit Marty
5b478b3c48
Fix injection issue.
2 months ago
Benoit Marty
afa19f4081
Fix quality issue.
2 months ago
Benoit Marty
79795af723
Imporve logs.
2 months ago
Benoit Marty
e05eefb766
Remove `const val PUSH_GATEWAY_PATH`, it makes the code more complex for no added value.
2 months ago
Benoit Marty
9e60fa9367
Add missing test on reset methods.
2 months ago
Benoit Marty
a81448c243
Always use the custom url, even if no Matrix gateway is detected.
2 months ago
ElementBot
8bd48fdc60
Sync Strings ( #3297 )
...
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
3 months ago
Jorge Martín
f9e3a67521
Try removing `isMinified` instead. This should now be controlled at the `app` module level.
3 months ago
Jorge Martín
43fb47f7af
Add proguard file for firebase for release variant too
3 months ago
Jorge Martín
92ec946ef0
Try fixing proguard config for nightly builds
3 months ago
renovate[bot]
738295a933
Update android.gradle.plugin to v8.5.2 ( #3004 )
...
* Update android.gradle.plugin
* Fix release builds with AGP 8.5 by removing the minification config in each library module. I believe this is now centralised.
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
3 months ago
bmarty
76804d9e48
Sync Strings from Localazy
3 months ago
jmartinesp
dabaa2d265
Sync Strings from Localazy
4 months ago
Benoit Marty
c25cdafff8
Move google_app_id from resource file to build.gradle.kts file and use different values for enterprise build.
4 months ago
bmarty
32c5da898b
Sync Strings from Localazy
4 months ago
ElementBot
fd6bcb7857
Sync Strings ( #3077 )
...
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
4 months ago
Benoit Marty
a8cd659b1f
Avoid restoring several MatrixClient
4 months ago
Benoit Marty
85eae468b7
Cleanup
5 months ago
Benoit Marty
f72fc36de8
Update PushProvider API, remove `isAvailable()`, but instead rely on `getDistributors()` to eventually return an empty list of Distributors.
5 months ago
Benoit Marty
725c3838af
Render an error dialog in case registering a pusher fails.
5 months ago
Benoit Marty
3d5951cbf0
Add test on pusher registration
5 months ago
ganfra
ccf7efe9b1
Sending queue : fix more tests.
5 months ago
bmarty
66636ea967
Sync Strings from Localazy
5 months ago
Benoit Marty
3fa508f1fe
Add Konsist test `Class with 'ContributeBinding' annotation should have allowed prefix` and fix exissting issues.
...
Also remove annotation `DefaultPreferences`, we only have one implementation.
5 months ago
bmarty
ca5bc71057
Sync Strings from Localazy
5 months ago
Benoit Marty
b3e0f6e843
Translations: pt -> pt-rBR
5 months ago
Benoit Marty
7911fda1fa
Rename class (code quality)
5 months ago
Benoit Marty
3796def1c9
Ignore local errors when unregistering UnifiedPush, to not block switching to another push provider.
5 months ago
Benoit Marty
788d9e0631
No need to use StandardTestDispatcher
5 months ago
Benoit Marty
b716482e43
No need to use advanceTimeBy
5 months ago
Benoit Marty
ce23135e4a
Do not fail un-registration if Firebase token is not known. Fixes #2895
5 months ago
Jorge Martín
0639bc6a5b
Simplify `RegisterUnifiedPushUseCase`, fix test
5 months ago
Benoit Marty
b8b66b3570
Add missing import
5 months ago
Benoit Marty
f04253287f
Introduce lambdaError instead of using TODO, to handle error when a lambda is invoked and it should not.
5 months ago
Benoit Marty
c71c491302
Clean up
5 months ago
Benoit Marty
cf3b2bba91
Add test on isRelevant
5 months ago
Benoit Marty
4e7f5c46b8
Refactor: change signature to always have `clientSecret` first, since it's acting as a key.
5 months ago
Benoit Marty
0a2d87f6b1
Add test on DefaultUnregisterUnifiedPushUseCase
5 months ago
Benoit Marty
02fa405b8e
Add test on UnifiedPushTest.isRelevant
5 months ago
Benoit Marty
f974cdd12a
Add test on DefaultUnifiedPushNewGatewayHandler
5 months ago
Benoit Marty
f304c1f65a
Add test on DefaultRegisterUnifiedPushUseCase
5 months ago
Benoit Marty
50b7f2c2c1
Add test on VectorUnifiedPushMessagingReceiver
5 months ago