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
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
9971926760
Fix tests.
2 years ago
Benoit Marty
a4897e6b76
Small quality fixes
2 years ago
Benoit Marty
cbc1bdfe52
More cleanup
2 years ago
Benoit Marty
96812209a3
Improve rendering of notifications
2 years ago
Benoit Marty
aad55d6341
small cleanup
2 years ago
Benoit Marty
aba39ef568
Fix issue with pendingintent data. (Simplier to use String that Serializable)
2 years ago
Benoit Marty
3966a03e3b
Improve temporary message displayed in notifications
2 years ago
Benoit Marty
efb620938c
Create NotificationFactory
2 years ago
Benoit Marty
d280510dd9
Extract channel management to dedicated class
2 years ago
Benoit Marty
b925fa8c09
Create PendingIntentFactory
2 years ago
Benoit Marty
6927e26bd2
rename package
2 years ago
Benoit Marty
d77162d768
Create getDismissRoomPendingIntent()
2 years ago
Benoit Marty
7e5fd58234
Extract code which create notification actions into ActionFactory and disable quick reply and mark as read actions.
2 years ago
Benoit Marty
e8244a9f79
Cleanup
2 years ago
Benoit Marty
b0f14bfb15
Deeplink: handle notification click to open a room.
2 years ago
Benoit Marty
62639c44a7
Cleanup
2 years ago
Benoit Marty
ce9ec1a066
Use Firebase by default and cleanup
2 years ago
Benoit Marty
dd71517abe
Cleanup store.
2 years ago
Benoit Marty
20370656cd
UnifiedPush WIP
2 years ago
Benoit Marty
287fca5438
UnifiedPush WIP
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
Benoit Marty
9ac46aed7c
PushData must have valid Event and Room ids.
2 years ago
Benoit Marty
58b017a451
Use handy `toIntOrNull`
2 years ago
Benoit Marty
8d371af78a
Move dependency declaration to the gradle catalog.
2 years ago
Benoit Marty
3c2542847c
Add test for Push parsers.
2 years ago
Jorge Martin Espinosa
5033e9582c
Fix lint issues that prevented CI from passing ( #310 )
2 years ago
Benoit Marty
8fcbaf4c74
Ignore lint warning. I think it's OK.
2 years ago
Benoit Marty
415830be1a
Fix lint warnings.
2 years ago
Benoit Marty
8541fdf64d
Add strings to localazy and import them
2 years ago
Benoit Marty
a5719cec79
Cleanup up string for push and notification (before integrating to Localazy)
2 years ago
Benoit Marty
d650a28904
Finish and test NotificationIdProvider
2 years ago
Benoit Marty
42889973af
Make NotificationDrawerManager.updateEvent private.
2 years ago
Benoit Marty
1faedca69d
Add some tests (mainly imported from EA). Also change type from String to SessionId, RoomId, etc.
2 years ago
Benoit Marty
6b3aef23fa
Clean up
2 years ago
Benoit Marty
00c23618ab
Persist notification data. Note that it will break the key storage for the session database.
2 years ago
Benoit Marty
25604b2651
Improve logs.
2 years ago
Benoit Marty
7e7e798acf
Making progress on notification for multi account.
2 years ago
Benoit Marty
ff7dc6ac45
Cleanup
2 years ago
Benoit Marty
35c7bffc45
Observe session database to be able to detect new user and removed user.
2 years ago
Benoit Marty
9fe42691ea
Close MatrixClient after usage
2 years ago
Benoit Marty
6ecbe1f856
Cleanup + Add per user store.
2 years ago
Benoit Marty
6e4b1cd958
Create a LoggedInNode, used as a PermanentNode in LoggedInFlowNode
2 years ago
Benoit Marty
e6ac547501
Show basic notification when push is recieve
2 years ago
Benoit Marty
d41f4fc954
Retrieve notification - WIP
2 years ago
Benoit Marty
2247639a89
Register pusher - WIP
2 years ago
Benoit Marty
3e58370356
Implement Push client secret store and test it.
2 years ago
Benoit Marty
7cd78216b0
Temporary import strings.
2 years ago