element-x-ada/libraries
Jorge Martin Espinosa 1de6797673
Remove SessionData.needsVerification as the source of truth for session verification status (#2748)
* Remove `SessionData.needsVerification` as the source of truth for session verification status.

- Use the Rust SDK `EncryptionService.verificationState()` instead, but always waiting for the first 'known' result (either verified or not, discarding 'unknown').
- Add a workaround in the super rare case when reading this value gets stuck somehow. We'll assume the user is not verified in that case.
- Make `DefaultFtueService.getNextStep` and dependent checks `suspend`.
- Make the `skip` button use a value in the session preferences instead.

* Log exception when the verification status can't be loaded

Co-authored-by: Benoit Marty <benoit@matrix.org>

* Fix review comments

---------

Co-authored-by: Benoit Marty <benoit@matrix.org>
2024-04-24 13:55:25 +00:00
..
androidutils Improve openUrlInExternalApp API and move url to UnifiedPushConfig 2024-04-02 18:12:36 +02:00
architecture Room member moderation: kick, ban and unban (#2496) 2024-03-06 16:44:05 +01:00
core Use productionApplicationName, set to "Element", instead of "Element X", and use ot for screen_onboarding_welcome_message 2024-04-10 16:45:14 +02:00
cryptography Fix moar ktlint issues 2024-01-11 10:02:10 +01:00
dateformatter Move RoomListRoomSummary factory to a dedicated file, more tests will be added. 2024-02-08 11:34:54 +01:00
deeplink Room list invites : clean and format 2024-04-16 15:49:07 +02:00
designsystem Add Ui test on DeveloperSettingsView 2024-04-23 13:55:28 +02:00
di Fix crash about several DataStores using the same file (#2312) 2024-01-30 11:10:46 +01:00
encrypted-db Fix ktlint issues 2024-01-10 19:33:39 +01:00
eventformatter Fix test 2024-04-22 16:56:31 +02:00
featureflag Remove Room moderation feature flag (#2678) 2024-04-09 17:53:07 +02:00
indicator Remove feature flag SecureStorage 2024-02-21 18:30:57 +01:00
maplibre-compose Fix ktlint issues 2024-01-10 19:33:39 +01:00
matrix Remove SessionData.needsVerification as the source of truth for session verification status (#2748) 2024-04-24 13:55:25 +00:00
matrixui Sync Strings from Localazy 2024-04-22 00:18:11 +00:00
mediapickers Fix moar ktlint issues 2024-01-11 10:02:10 +01:00
mediaplayer Fix moar ktlint issues 2024-01-11 10:02:10 +01:00
mediaupload Fix SDK integration 2024-03-20 09:36:35 +01:00
mediaviewer Need a default value for Modifier. 2024-03-01 18:44:08 +01:00
network Use new retrofit bom and change Maven coordinates of kotlinx-serialization 2024-03-25 09:56:30 +01:00
permissions Fix test compilation. 2024-04-02 19:50:41 +02:00
preferences Remove SessionData.needsVerification as the source of truth for session verification status (#2748) 2024-04-24 13:55:25 +00:00
push Fix test 2024-04-22 16:23:17 +02:00
pushproviders Create dedicated module for notification troubleshoot. 2024-04-02 18:12:36 +02:00
pushstore Rename UserPushStoreFactory.create to UserPushStoreFactory.getOrCreate for code clarity. 2024-04-02 18:12:36 +02:00
roomselect Increase usage of RoomAlias 2024-04-18 00:02:22 +02:00
rustsdk
session-storage Remove SessionData.needsVerification as the source of truth for session verification status (#2748) 2024-04-24 13:55:25 +00:00
testtags Room navigation : some clean up 2024-04-12 15:58:15 +02:00
textcomposer Reply: render sender name of replied event on 1 line only. 2024-04-22 16:23:18 +02:00
troubleshoot Add showkase processor 2024-04-02 18:37:29 +02:00
ui-strings Implement a migration mechanism to handle internal stuff which need to occur during application upgrade. 2024-04-24 11:17:23 +02:00
ui-utils Add voice message recording duration indicator and limit (#1628) 2023-10-24 11:44:53 +00:00
usersearch Fix moar ktlint issues 2024-01-11 10:02:10 +01:00
voicerecorder Fix moar ktlint issues 2024-01-11 11:24:10 +01:00