ElementBot
847f8fcbf6
Sync Strings from Localazy ( #4648 )
...
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2025-04-28 10:59:35 +02:00
Benoit Marty
7ed362b9db
Push: improve Push history screen, log and stored data ( #4601 )
...
* Add adb tools to help with doze mode and app standby
* Add info about the device state when an error occurs in push.
* Keep more events in the DB.
* Push history: add confirmation dialog when resetting the data
* Push history: add a filter to see only the errors
* Update screenshots
* Push history: print out invalid/ignored data received.
* Increase log level for push, to make such log more visible.
It also appears that sometimes Timber.d are not present in the rageshakes.
* Log priority
* Do not include device state for invalid/ignored event.
* Fix tests.
* Fix format issue.
* Fix mistake in code blocks and do not filter when not necessary.
* Improve formatting and add missing unit test.
* Reduce nesting of blocks.
---------
Co-authored-by: ElementBot <android@element.io>
2025-04-16 16:37:32 +02:00
Benoit Marty
c7f0566dc1
Introduce PushHistoryService to store data about the received push ( #4573 )
...
* Introduce PushHistoryService to store data about the received push
Add a push database.
* Update screenshots
* Improve preview.
* Update screenshots
* Add missing test.
* Add test for PushHistoryView
* Fix configuration issue.
Was: w: /libraries/troubleshoot/impl/src/test/kotlin/io/element/android/libraries/troubleshoot/impl/history/PushHistoryPresenterTest.kt:35:27 Cannot access class 'PushProvider' in the expression type. While it may work, this case indicates a configuration mistake and can lead to avoidable compilation errors, so it may be forbidden soon. Check your module classpath for missing or conflicting dependencies.
---------
Co-authored-by: ElementBot <android@element.io>
2025-04-11 12:56:54 +02:00
Benoit Marty
cf60f943a8
Give ability to configure the Firebase push gateway.
2025-03-12 16:50:46 +01:00
bmarty
9a75f40855
Sync Strings from Localazy
2025-03-10 00:28:38 +00:00
bmarty
f549e7bba2
Sync Strings from Localazy
2025-02-17 00:30:17 +00:00
bmarty
be91da966a
Sync Strings from Localazy
2025-02-03 00:29:01 +00:00
Benoit Marty
97f3be3dc5
Apply dual licenses: AGPL + Element Commercial to file headers.
...
2 replace all actions have been performed:
- "SPDX-License-Identifier: AGPL-3.0-only" to "SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial"
- "Please see LICENSE in the repository root for full details." to "Please see LICENSE files in the repository root for full details."
2025-01-07 10:05:04 +01:00
ElementBot
bc59a70043
Sync Strings - add translations to Finnish ( #3883 )
...
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2024-11-18 11:37:17 +00:00
Benoit Marty
f0aca004ba
Change signature of getCurrentDistributor.
2024-11-15 15:18:28 +01:00
Benoit Marty
7a7b5d2dd0
Properly unregister from the ntfy app when the user logs out.
2024-11-15 12:43:57 +01:00
Benoit Marty
12f5839eef
Handle Jorge's remarks.
2024-10-30 16:37:58 +01:00
Benoit Marty
a77a6b88ee
Now that FCM token can be rotated, let the FirebaseTokenTest observe the value.
2024-10-30 11:54:10 +01:00
Benoit Marty
6bde224695
Add quick fix in notification troubleshot test to perform a Firebase token rotation
2024-10-30 11:54:10 +01:00
Benoit Marty
4aa1afec5a
Firebase token: the beginning of the token is always the same, print out the end of it.
2024-10-30 11:54:09 +01:00
bmarty
bb0a281342
Sync Strings from Localazy
2024-09-16 18:40:24 +00:00
Benoit Marty
375ac25d8d
Migrate license to AGPL - XML files.
2024-09-06 17:43:35 +02:00
Benoit Marty
f61df38e55
Migrate license to AGPL.
...
Run script `uv run license-editor --repository ../element-x-android`
2024-09-06 17:19:19 +02:00
ElementBot
8bd48fdc60
Sync Strings ( #3297 )
...
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2024-08-12 06:03:23 +00:00
bmarty
76804d9e48
Sync Strings from Localazy
2024-07-29 00:26:27 +00:00
jmartinesp
dabaa2d265
Sync Strings from Localazy
2024-07-03 11:21:27 +00:00
bmarty
32c5da898b
Sync Strings from Localazy
2024-07-01 00:22:10 +00:00
ElementBot
fd6bcb7857
Sync Strings ( #3077 )
...
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2024-06-24 09:29:35 +02:00
Benoit Marty
a8cd659b1f
Avoid restoring several MatrixClient
2024-06-18 18:04:30 +02:00
Benoit Marty
f72fc36de8
Update PushProvider API, remove isAvailable(), but instead rely on getDistributors() to eventually return an empty list of Distributors.
2024-06-17 17:25:13 +02:00
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.
2024-05-31 10:18:08 +02:00
bmarty
ca5bc71057
Sync Strings from Localazy
2024-05-29 12:44:57 +00:00
Benoit Marty
b3e0f6e843
Translations: pt -> pt-rBR
2024-05-27 14:51:32 +02:00
Benoit Marty
ce23135e4a
Do not fail un-registration if Firebase token is not known. Fixes #2895
2024-05-23 09:53:51 +02:00
Benoit Marty
5c68956e6c
Fix test on VectorFirebaseMessagingService
2024-05-22 18:44:25 +02:00
Benoit Marty
b38c144f46
Add test on DefaultFirebaseNewTokenHandler
2024-05-22 18:42:39 +02:00
Benoit Marty
eafa713995
Add test on VectorFirebaseMessagingService
2024-05-22 17:57:35 +02:00
Benoit Marty
82a2992ab3
Cleanup
2024-05-21 14:45:19 +02:00
Benoit Marty
a65c290dd3
Improve API, to avoid ignoring errors
2024-05-21 14:45:16 +02:00
Benoit Marty
d2fbff09b8
Push distributor: ensure the current UnifiedPush distributor is stored
2024-05-21 14:45:15 +02: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
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
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
5d086ad82d
Fix moar ktlint issues
2024-01-11 10:02:10 +01:00
Benoit Marty
0d204f5e98
Share tag with other modules.
2023-09-15 17:03:32 +02: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