Commit Graph

5385 Commits

Author SHA1 Message Date
Benoit Marty 62639c44a7 Cleanup 2023-04-12 10:06:11 +02:00
Benoit Marty eb6276e09d Improve asXId and make tests pass in release and debug mode. 2023-04-12 09:50:04 +02:00
Benoit Marty b081ecfb6a Fix test 2023-04-12 09:50:04 +02:00
Benoit Marty ce9ec1a066 Use Firebase by default and cleanup 2023-04-12 09:50:04 +02:00
Benoit Marty dd71517abe Cleanup store. 2023-04-12 09:50:04 +02:00
Benoit Marty 20370656cd UnifiedPush WIP 2023-04-12 09:50:04 +02:00
Benoit Marty 287fca5438 UnifiedPush WIP 2023-04-12 09:49:23 +02:00
Benoit Marty 0126c7ddc1 Split GoogleFcmHelper 2023-04-12 09:48:56 +02:00
Benoit Marty 21a07fda07 Sort provider by index 2023-04-12 09:48:56 +02:00
Benoit Marty 7333995630 Split push module into several modules: Firebase, UnifiedPush, store 2023-04-12 09:48:56 +02:00
Benoit Marty 9ac46aed7c PushData must have valid Event and Room ids. 2023-04-12 09:42:05 +02:00
Benoit Marty 58b017a451 Use handy toIntOrNull 2023-04-12 09:41:22 +02:00
Benoit Marty 8d371af78a Move dependency declaration to the gradle catalog. 2023-04-12 09:41:22 +02:00
Benoit Marty 0eb1d95fec Log: create and use a loggerTag 2023-04-12 09:41:22 +02:00
Benoit Marty 9bdc23a049 Fix bad log. 2023-04-12 09:41:22 +02:00
Benoit Marty 7fe427686c Let this module generate screenshot preview. 2023-04-12 09:41:22 +02:00
Benoit Marty 7976ca2dbf Add more state for more previews. 2023-04-12 09:41:22 +02:00
Benoit Marty 9e00c60649 if -> when 2023-04-12 09:41:22 +02:00
Benoit Marty 986fbcdce2 Add some check on as*Id() methods, to fail in debug mode. 2023-04-12 09:41:22 +02:00
Benoit Marty b396ce3e20 Add default value for noActivityFoundMessage 2023-04-12 09:41:22 +02:00
Benoit Marty 3c2542847c Add test for Push parsers. 2023-04-12 09:40:04 +02:00
github-actions[bot] d0fc9f23c8 Sync Strings from Localazy (#307)
Co-authored-by: bmarty <bmarty@users.noreply.github.com>
2023-04-11 09:45:58 +00:00
Jorge Martin Espinosa 5033e9582c Fix lint issues that prevented CI from passing (#310) 2023-04-10 09:00:02 +02:00
Hans Christian Schmitz f74c5711f4 Add support for autofilling login text fields (#293)
* Add support for autofilling login text fields

Support autofilling login text fields via Android Autofill with the
experimental AndroidX Compose API for it.

Based on https://bryanherbst.com/2021/04/13/compose-autofill/ (with permission).

Signed-off-by: Hans Christian Schmitz <git@hcsch.eu>

* Move autofill implementation to designsystem library

Signed-off-by: Hans Christian Schmitz <git@hcsch.eu>

---------

Signed-off-by: Hans Christian Schmitz <git@hcsch.eu>
2023-04-10 08:21:57 +02:00
Benoit Marty 35d02a4271 Fix ktlint issue. 2023-04-07 10:38:47 +02:00
Benoit Marty df731042c6 Merge branch 'develop' into feature/bma/push 2023-04-06 09:13:24 +02:00
Benoit Marty dc25257645 Fix wildcard import 2023-04-05 18:14:32 +02:00
Florian Renaud 8132dc15e7 Merge remote-tracking branch 'origin/develop' into feature/fre/start_chat_with_matrix_id 2023-04-05 17:43:52 +02:00
Benoit Marty aa36398b4e Fix lint warnings. 2023-04-05 16:59:17 +02:00
Benoit Marty 8fcbaf4c74 Ignore lint warning. I think it's OK. 2023-04-05 16:59:17 +02:00
Benoit Marty 6cf070bfa7 Comment unused code. 2023-04-05 16:59:17 +02:00
Benoit Marty 552b2dc029 Add test for NoopPermissionsPresenter and remove the unused factory. 2023-04-05 16:59:17 +02:00
Benoit Marty 415830be1a Fix lint warnings. 2023-04-05 16:59:17 +02:00
Benoit Marty 8541fdf64d Add strings to localazy and import them 2023-04-05 16:59:17 +02:00
Benoit Marty a5719cec79 Cleanup up string for push and notification (before integrating to Localazy) 2023-04-05 16:59:17 +02:00
Benoit Marty d650a28904 Finish and test NotificationIdProvider 2023-04-05 16:59:17 +02:00
Benoit Marty 42889973af Make NotificationDrawerManager.updateEvent private. 2023-04-05 16:59:17 +02:00
Benoit Marty 1faedca69d 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 6b3aef23fa Clean up 2023-04-05 16:59:17 +02:00
Benoit Marty 00c23618ab 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 25604b2651 Improve logs. 2023-04-05 16:59:17 +02:00
Benoit Marty 7e7e798acf Making progress on notification for multi account. 2023-04-05 16:59:17 +02:00
Benoit Marty dfb9106fb1 Bad copy/paste 2023-04-05 16:59:17 +02:00
Benoit Marty ff7dc6ac45 Cleanup 2023-04-05 16:59:17 +02:00
Benoit Marty 35c7bffc45 Observe session database to be able to detect new user and removed user. 2023-04-05 16:59:17 +02:00
Benoit Marty 7ff72d480c Protect call to getNotificationItem 2023-04-05 16:59:17 +02:00
Benoit Marty 9fe42691ea Close MatrixClient after usage 2023-04-05 16:59:17 +02:00
Benoit Marty 6ecbe1f856 Cleanup + Add per user store. 2023-04-05 16:59:17 +02:00
Benoit Marty b27f6c6594 Add Result + Dispatcher on SDK call. 2023-04-05 16:59:17 +02:00
Benoit Marty 6e4b1cd958 Create a LoggedInNode, used as a PermanentNode in LoggedInFlowNode 2023-04-05 16:59:17 +02:00