SpiritCroc
f93c962509
Do not crash on UP unregistered
9 months ago
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.
10 months ago
Benoit Marty
d01c70a4fd
Fix moar ktlint issues
10 months ago
Benoit Marty
5d086ad82d
Fix moar 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
5850f5342d
Move Knit to Gradle catalog and use alias(libs.plugins.kotlin.serialization). Fix issue with JNA
12 months ago
Benoit Marty
67d58bac35
Move remaining hard-coded dependency to Gradle catalog. We had 2 different version of material3 library.
12 months ago
Benoit Marty
8819522423
Replace hard-coded value by value from gradle datalog
12 months ago
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>
12 months ago
Benoit Marty
0d204f5e98
Share tag with other modules.
1 year ago
renovate[bot]
bb75539647
Update kotlin to 1.9.10 ( #1123 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 year ago
Benoit Marty
7083abcf09
migrate `object` to `data object` ( #1135 )
1 year ago
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>
1 year ago
Benoit Marty
1354ec76c9
Enable detekt rules `DataClassShouldBeImmutable` and fix existing issues.
1 year ago
Benoit Marty
86756dbc09
Enable detekt rules `UnusedParameter` and `UnusedPrivateProperty` and cleanup the code.
1 year ago
renovate[bot]
d6780b1107
Update kotlin
1 year ago
Yoan Pintas
f534ecda96
Init analytics modules ( #350 )
1 year ago
renovate[bot]
8c00b19ba9
Update kotlin
2 years ago
jonnyandrew
6239aca8cb
Allow custom push gateway to use non-default port ( #374 )
2 years ago
renovate[bot]
61a01b003b
Update kotlin
2 years ago
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`.
2 years ago
Benoit Marty
a8ae909137
Use `ContributesMultibinding` annotation and remove the module for push providers.
2 years ago
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>
2 years ago
Benoit Marty
62639c44a7
Cleanup
2 years ago
Benoit Marty
eb6276e09d
Improve asXId and make tests pass in release and debug mode.
2 years ago
Benoit Marty
20370656cd
UnifiedPush WIP
2 years ago
Benoit Marty
287fca5438
UnifiedPush WIP
2 years ago
Benoit Marty
0126c7ddc1
Split GoogleFcmHelper
2 years ago
Benoit Marty
21a07fda07
Sort provider by index
2 years ago
Benoit Marty
7333995630
Split push module into several modules: Firebase, UnifiedPush, store
2 years ago