Benoit Marty
68a76f83a0
Do not rely only on distributor name but consider value (appId) as well.
...
This will fix issue when multiple UnifiedPush distributor with the same friendly name are available on the phone.
Fixes #4306
2025-02-26 10:55:33 +01:00
Benoit Marty
05fc76822a
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
Benoit Marty
8e3c44b60b
Change signature of getCurrentDistributor.
2024-11-15 15:18:28 +01:00
Benoit Marty
844e0216bd
Properly unregister from the ntfy app when the user logs out.
2024-11-15 12:43:57 +01:00
Benoit Marty
a6fdb90838
Add quick fix in notification troubleshot test to perform a Firebase token rotation
2024-10-30 11:54:10 +01:00
Benoit Marty
2b016227e9
Migrate license to AGPL.
...
Run script `uv run license-editor --repository ../element-x-android`
2024-09-06 17:19:19 +02:00
Benoit Marty
90eeb6cdb1
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
e6f6e82ce2
Render an error dialog in case registering a pusher fails.
2024-06-17 11:30:23 +02:00
Benoit Marty
4bd01b6f4f
Improve API, to avoid ignoring errors
2024-05-21 14:45:16 +02:00
Benoit Marty
3d5fdfc22e
Push distributor: ensure the current UnifiedPush distributor is stored
2024-05-21 14:45:15 +02:00
Benoit Marty
8588ce7a72
Troubleshoot notifications screen
2024-04-02 16:15:00 +02:00
Benoit Marty
57e1aee984
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
Yoan Pintas
d2263372d2
Init analytics modules ( #350 )
2023-06-05 13:11:34 +00:00
Jorge Martin Espinosa
afd58f1634
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
Benoit Marty
245c46c8b8
Cleanup
2023-04-12 10:06:11 +02:00
Benoit Marty
7f22c6b211
Use Firebase by default and cleanup
2023-04-12 09:50:04 +02:00
Benoit Marty
80268156b5
UnifiedPush WIP
2023-04-12 09:50:04 +02:00
Benoit Marty
95bafe4059
UnifiedPush WIP
2023-04-12 09:49:23 +02:00
Benoit Marty
586d1a076c
Split GoogleFcmHelper
2023-04-12 09:48:56 +02:00
Benoit Marty
05a8ca0eec
Sort provider by index
2023-04-12 09:48:56 +02:00
Benoit Marty
219b97eea7
Split push module into several modules: Firebase, UnifiedPush, store
2023-04-12 09:48:56 +02:00