Commit graph

9 commits

Author SHA1 Message Date
ismailgulek
19afad1f18
Login with QR UI components (#6790)
* Display QR button on login screen if HS supports

* Create start screen

* Add build flag

* Connect start screen to the login

* QR display screen

* Move `LabelledDividerView` into separate file

* Show display QR screen on button tap

* Add swift concurreny to CameraAccessManager

* Introduce `QRLoginServiceProtocol`

* Use new service in screens

* Introduce scan QR code screen

* Remove hardcoded service availability

* Remove unnecessary import

* Add confirmation screen

* Add loading screen

* Fix ZXingObjc targets

* Add failure screen

* Add strings

* Various UI tweaks, navigation according to the service state

* Fix tests

* Add string for invalid QR error

* Add QR login service mode
2022-10-06 18:05:46 +03:00
Stefan Ceriu
ec0634ffb7 Configured and applied SwiftFormat 2022-09-27 12:55:44 +03:00
Doug
13f4973786 Prevent login using keyboard when homeserver is loading. 2022-06-23 18:33:24 +01:00
Doug
83e2b1d440 Add custom string representations of view model/coordinator results. 2022-06-17 10:15:10 +01:00
ismailgulek
8b66812430
Show fallback on login screen 2022-05-27 17:51:54 +03:00
Doug
d13a065c34 Add SSOAuthenticationPresenter to the AuthenticationCoordinator. 2022-05-25 14:48:18 +01:00
Doug
4ebcd7d7f0 Disable the next button whilst loading a server.
Add tests for login screen.
Self review.
2022-05-24 18:03:31 +01:00
Doug
b01fbecd88 Add AuthenticationHomeserverViewData to easily map AuthenticationState.Homeserver to a type in the SwiftUI target. 2022-05-24 15:47:25 +01:00
Doug
0f12447748 Add login screen. 2022-05-24 15:47:24 +01:00