element-x-ada/libraries
Jorge Martin Espinosa 663362ac7f
Add forced logout flow when the proxy is no longer available (#3458)
* Add `MatrixClient.isSlidingSyncProxySupported` function

* Update localazy strings

* Modify `ErrorDialog` to have an `onSubmit` call, which will be used for the submit action.

Also make the title text optional and dismissing the dialog by tapping outside/going back configurable.

* Check if a forced migration to SSS is needed because the proxy is no longer available.

In that case, display the non-dismissable dialog and force the user to log out after enabling SSS.

* Enable native/simplified sliding sync by default.

* Refactor the login to make sure we:

1. Always try native/simplified sliding sync login first, if available.
2. Then, if it wasn't available or failed with an sliding sync not supported error, try with the proxy instead (either discovered proxy or forced custom one).

* Move logic to `LoggedInPresenter` and the UI to `LoggedInView`

* Update screenshots

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-09-16 09:13:02 +00:00
..
androidutils Migrate license to AGPL - XML files. 2024-09-06 17:43:35 +02:00
architecture Migrate license to AGPL. 2024-09-06 17:19:19 +02:00
core Migrate license to AGPL. 2024-09-06 17:19:19 +02:00
cryptography Migrate license to AGPL. 2024-09-06 17:19:19 +02:00
dateformatter Migrate license to AGPL. 2024-09-06 17:19:19 +02:00
deeplink Migrate license to AGPL. 2024-09-06 17:19:19 +02:00
designsystem Add forced logout flow when the proxy is no longer available (#3458) 2024-09-16 09:13:02 +00:00
di Migrate license to AGPL. 2024-09-06 17:19:19 +02:00
encrypted-db Migrate license to AGPL. 2024-09-06 17:19:19 +02:00
eventformatter Migrate license to AGPL. 2024-09-06 17:19:19 +02:00
featureflag crypto: Add configuration flag to enable invisible crypto 2024-09-12 14:53:59 +02:00
fullscreenintent Migrate license to AGPL. 2024-09-06 17:19:19 +02:00
indicator Migrate license to AGPL. 2024-09-06 17:19:19 +02:00
maplibre-compose Migrate license to AGPL. 2024-09-06 17:19:19 +02:00
matrix Add forced logout flow when the proxy is no longer available (#3458) 2024-09-16 09:13:02 +00:00
matrixui Migrate license to AGPL. 2024-09-06 17:19:19 +02:00
mediapickers Migrate license to AGPL. 2024-09-06 17:19:19 +02:00
mediaplayer Migrate license to AGPL. 2024-09-06 17:19:19 +02:00
mediaupload Migrate license to AGPL. 2024-09-06 17:19:19 +02:00
mediaviewer Migrate license to AGPL. 2024-09-06 17:19:19 +02:00
network Migrate license to AGPL. 2024-09-06 17:19:19 +02:00
oidc Migrate license to AGPL. 2024-09-06 17:19:19 +02:00
permissions Migrate license to AGPL. 2024-09-06 17:19:19 +02:00
preferences Add forced logout flow when the proxy is no longer available (#3458) 2024-09-16 09:13:02 +00:00
push Migrate license to AGPL - XML files. 2024-09-06 17:43:35 +02:00
pushproviders Migrate license to AGPL - XML files. 2024-09-06 17:43:35 +02:00
pushstore Migrate license to AGPL. 2024-09-06 17:19:19 +02:00
qrcode Migrate license to AGPL. 2024-09-06 17:19:19 +02:00
roomselect Migrate license to AGPL. 2024-09-06 17:19:19 +02:00
rustsdk
session-storage Migrate license to AGPL. 2024-09-06 17:19:19 +02:00
testtags Migrate license to AGPL. 2024-09-06 17:19:19 +02:00
textcomposer Migrate license to AGPL. 2024-09-06 17:19:19 +02:00
troubleshoot Migrate license to AGPL. 2024-09-06 17:19:19 +02:00
ui-strings Add forced logout flow when the proxy is no longer available (#3458) 2024-09-16 09:13:02 +00:00
ui-utils Migrate license to AGPL. 2024-09-06 17:19:19 +02:00
usersearch Migrate license to AGPL. 2024-09-06 17:19:19 +02:00
voicerecorder Migrate license to AGPL. 2024-09-06 17:19:19 +02:00