Benoit Marty
50004e37cf
Add test on UnifiedPushGatewayResolver
2024-05-22 09:23:33 +02:00
Benoit Marty
ada777e45c
Add test for push distributor change.
2024-05-21 14:45:20 +02:00
Benoit Marty
82a2992ab3
Cleanup
2024-05-21 14:45:19 +02:00
Benoit Marty
495be55755
Add missing methods.
2024-05-21 14:45:18 +02:00
Benoit Marty
d459c0806b
Wait for UnifiedPush pusher to be registered before returning Result.
2024-05-21 14:45:17 +02:00
Benoit Marty
2a20044cc7
Update comment
2024-05-21 14:45:17 +02:00
Benoit Marty
68708837d8
Ensure UnifiedPush endpoint is registered.
2024-05-21 14:45:17 +02:00
Benoit Marty
a65c290dd3
Improve API, to avoid ignoring errors
2024-05-21 14:45:16 +02:00
Benoit Marty
ad63f2b0c5
UnifiedPush: correctly unregister the provider.
2024-05-21 14:45:15 +02:00
Benoit Marty
d2fbff09b8
Push distributor: ensure the current UnifiedPush distributor is stored
2024-05-21 14:45:15 +02:00
bmarty
83a8a631f2
Sync Strings from Localazy
2024-05-20 00:23:05 +00:00
bmarty
0910da0a14
Sync Strings from Localazy
2024-05-13 12:47:48 +00:00
Jorge Martín
5425cdcbb1
Use GoogleApiAvailabilityLight instead of GoogleApiAvailability
2024-05-03 17:13:07 +02:00
bmarty
4f82baa2b0
Sync Strings from Localazy
2024-04-29 00:18:59 +00:00
Benoit Marty
cb435c523b
Create dedicated module for notification troubleshoot.
2024-04-02 18:12:36 +02:00
Benoit Marty
52c039d676
Rename UserPushStoreFactory.create to UserPushStoreFactory.getOrCreate for code clarity.
2024-04-02 18:12:36 +02:00
Benoit Marty
e18e5f1cc5
Run ./tools/localazy/downloadStrings.sh --all
2024-04-02 18:12:36 +02:00
Benoit Marty
565e5ce87d
Improve openUrlInExternalApp API and move url to UnifiedPushConfig
2024-04-02 18:12:36 +02:00
Benoit Marty
09b2cbaaf5
Localize Troubleshoot notification feature.
2024-04-02 16:15:04 +02:00
Benoit Marty
74048cca8f
Avoid tryEmit(), use emit()
2024-04-02 16:15:01 +02:00
Benoit Marty
2bfe125a77
Troubleshoot notifications screen
2024-04-02 16:15:00 +02:00
Benoit Marty
a5d0b47d3a
Use new retrofit bom and change Maven coordinates of kotlinx-serialization
2024-03-25 09:56:30 +01:00
SpiritCroc
f93c962509
Do not crash on UP unregistered
2024-02-01 12:04:47 +01:00
Benoit Marty
7498c148f1
Ensure that a PushProvider is available on a device before using it.
...
It help to fallback to UnifiedPush (if available) if the PlayServices are not installed on the device.
2024-01-17 17:11:34 +01:00
Benoit Marty
d01c70a4fd
Fix moar ktlint issues
2024-01-11 11:24:10 +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
5850f5342d
Move Knit to Gradle catalog and use alias(libs.plugins.kotlin.serialization). Fix issue with JNA
2023-11-13 09:58:00 +01:00
Benoit Marty
67d58bac35
Move remaining hard-coded dependency to Gradle catalog. We had 2 different version of material3 library.
2023-11-10 16:56:04 +01:00
Benoit Marty
8819522423
Replace hard-coded value by value from gradle datalog
2023-11-10 16:25:58 +01:00
renovate[bot]
9e66180d20
Update kotlin ( #1697 )
...
* Update kotlin
* Lower Sonar RAM usage, remove redundant `Dkotlin.daemon.jvm.options`
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2023-11-08 12:58:14 +00:00
Benoit Marty
0d204f5e98
Share tag with other modules.
2023-09-15 17:03:32 +02:00
Benoit Marty
ffff48b66e
Fix R8 error, due to exclusion of analytics group done in #1221 .
2023-09-06 08:58:32 +02:00
Benoit Marty
a0ff636d0b
Exclude some groups related to analytics to be included. #1191
2023-09-04 15:59:01 +02:00
renovate[bot]
bb75539647
Update kotlin to 1.9.10 ( #1123 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-30 08:28:06 +02:00
Benoit Marty
7083abcf09
migrate object to data object ( #1135 )
2023-08-24 09:32:44 +02:00
renovate[bot]
4a630f141d
Update kotlin - TO BE MERGED AFTER THE RELEASE ( #789 )
...
* Update kotlin
* Update kotlinc.xml
* Update ksp
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Marco Romano <marcor@element.io>
Co-authored-by: Benoit Marty <benoit@matrix.org>
2023-08-17 08:58:10 +00:00
Benoit Marty
822bb82347
Merge pull request #967 from vector-im/feature/bma/detektConfig
...
Update detekt config.
2023-07-28 16:47:26 +02:00
Benoit Marty
4cdc0c1280
Ignore unused generated resource for Firebase.
2023-07-27 11:41:35 +02:00
Benoit Marty
1354ec76c9
Enable detekt rules DataClassShouldBeImmutable and fix existing issues.
2023-07-26 11:18:00 +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
renovate[bot]
d6780b1107
Update kotlin
2023-06-28 22:23:44 +00:00
Yoan Pintas
f534ecda96
Init analytics modules ( #350 )
2023-06-05 13:11:34 +00:00
renovate[bot]
8c00b19ba9
Update kotlin
2023-05-03 17:40:41 +00:00
jonnyandrew
6239aca8cb
Allow custom push gateway to use non-default port ( #374 )
2023-05-02 15:04:47 +00:00
renovate[bot]
61a01b003b
Update kotlin
2023-04-21 16:29:06 +02:00
Jorge Martin Espinosa
fae3417181
Validate several ids in constructors ( #336 )
...
* Validate ids in constructors.
* Remove redundant `.value` usage in string interpolation.
* Make a distinction between `SessionId` and `UserId` in `TestData`.
2023-04-18 16:17:13 +00:00
Benoit Marty
a8ae909137
Use ContributesMultibinding annotation and remove the module for push providers.
2023-04-18 10:12:45 +02:00
Jorge Martin Espinosa
de010545fb
Update Gradle to 8.1 and AGP to v8.0 ( #329 )
...
* Update AGP to 8.0.0.
* Set JAVA_HOME to JDK17
* Update lint version.
* Use right JDK for dependency analysis, replace deprecated env var.
* Upgrade to Gradle 8.1.
* Remove `@Supress(DSL_SCOPE_VIOLATION)` as it's no longer needed.
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-17 08:49:52 +00:00