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
0874c076d6
Deeplink: handle notification click to open a room.
2023-04-13 15:35:01 +02:00
Benoit Marty
245c46c8b8
Cleanup
2023-04-12 10:06:11 +02:00
Benoit Marty
f4a283567e
Cleanup store.
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
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
Benoit Marty
1134f50090
PushData must have valid Event and Room ids.
2023-04-12 09:42:05 +02:00
Benoit Marty
5bb504861c
Use handy toIntOrNull
2023-04-12 09:41:22 +02:00
Benoit Marty
bec41f1c6a
Move dependency declaration to the gradle catalog.
2023-04-12 09:41:22 +02:00
Benoit Marty
0550a32821
Add test for Push parsers.
2023-04-12 09:40:04 +02:00
Jorge Martin Espinosa
b900725919
Fix lint issues that prevented CI from passing ( #310 )
2023-04-10 09:00:02 +02:00
Benoit Marty
fad849ce21
Ignore lint warning. I think it's OK.
2023-04-05 16:59:17 +02:00
Benoit Marty
78b8d5cf6e
Fix lint warnings.
2023-04-05 16:59:17 +02:00
Benoit Marty
48044a3cc5
Add strings to localazy and import them
2023-04-05 16:59:17 +02:00
Benoit Marty
68769a21e2
Cleanup up string for push and notification (before integrating to Localazy)
2023-04-05 16:59:17 +02:00
Benoit Marty
9036237030
Finish and test NotificationIdProvider
2023-04-05 16:59:17 +02:00
Benoit Marty
2afdf49501
Make NotificationDrawerManager.updateEvent private.
2023-04-05 16:59:17 +02:00
Benoit Marty
7e7aca4a53
Add some tests (mainly imported from EA). Also change type from String to SessionId, RoomId, etc.
2023-04-05 16:59:17 +02:00
Benoit Marty
31ff2e7e0b
Clean up
2023-04-05 16:59:17 +02:00
Benoit Marty
c0ef4804a1
Persist notification data. Note that it will break the key storage for the session database.
2023-04-05 16:59:17 +02:00
Benoit Marty
2696348d46
Improve logs.
2023-04-05 16:59:17 +02:00
Benoit Marty
0c0f7dff40
Making progress on notification for multi account.
2023-04-05 16:59:17 +02:00
Benoit Marty
41e0249fbf
Cleanup
2023-04-05 16:59:17 +02:00
Benoit Marty
c52ad084e9
Observe session database to be able to detect new user and removed user.
2023-04-05 16:59:17 +02:00
Benoit Marty
dae0cae8bb
Close MatrixClient after usage
2023-04-05 16:59:17 +02:00
Benoit Marty
b9276aa60b
Cleanup + Add per user store.
2023-04-05 16:59:17 +02:00
Benoit Marty
eaff43de3a
Create a LoggedInNode, used as a PermanentNode in LoggedInFlowNode
2023-04-05 16:59:17 +02:00
Benoit Marty
afbd4672e6
Show basic notification when push is recieve
2023-04-05 16:32:28 +02:00
Benoit Marty
1f09f5f0eb
Retrieve notification - WIP
2023-04-05 16:32:28 +02:00
Benoit Marty
be8ce499d0
Register pusher - WIP
2023-04-05 16:31:43 +02:00
Benoit Marty
da4b49ce17
Implement Push client secret store and test it.
2023-04-05 16:31:09 +02:00
Benoit Marty
8a100500f0
Temporary import strings.
2023-04-05 16:31:09 +02:00
Benoit Marty
500d4801a7
Add permission modules
2023-04-05 16:25:27 +02:00
Benoit Marty
c133caf442
Fix compilation after rebase.
2023-04-05 16:18:44 +02:00
Benoit Marty
cb0cc70102
Fix compilation after rebase
2023-04-05 16:18:44 +02:00
Benoit Marty
7ad385965e
Add todos
2023-04-05 16:18:44 +02:00
Benoit Marty
bc7fb0a2bb
Push: be able to test Push
...
Create `:libraries:network`
2023-04-05 16:18:44 +02:00
Benoit Marty
64f4740029
Import some stuff about Push and notification from Element Android - WIP
2023-04-05 16:18:44 +02:00