Commit Graph

12 Commits

Author SHA1 Message Date
ismailgulek d5c7e6bd8e 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 89bcd92cca Configured and applied SwiftFormat 2022-09-27 12:55:44 +03:00
Doug 82b60f2e5e Update use case, registration and login screens.
Remove "Custom server" button from use case screen.
Remove matrix.org description.
Add username availability to registration screen.
2022-07-14 16:56:35 +01:00
ismailgulek e705b8db46 Add identity server to AuthenticationState 2022-06-07 16:18:54 +03:00
ismailgulek 15ebe174c5 Fix PR remarks 2022-05-30 19:56:23 +03:00
ismailgulek 88b2688703 Show fallback on authentication coordinator 2022-05-27 17:49:54 +03:00
Doug 292cd4a5d2 Disable the next button whilst loading a server.
Add tests for login screen.
Self review.
2022-05-24 18:03:31 +01:00
Doug e77d7d9250 Add AuthenticationHomeserverViewData to easily map AuthenticationState.Homeserver to a type in the SwiftUI target. 2022-05-24 15:47:25 +01:00
Doug 26b4130eb1 Make the server selection coordinator aware of which flow it is for.
Don't set the authentication state until after registration has been queried to avoid using the wrong client if the user cancelled the selection.
2022-05-24 15:47:24 +01:00
Doug e1c3969d18 Use ordered flow for matrix.org and (kind of) homeserver defined order otherwise. 2022-05-19 11:43:38 +01:00
Doug c2d9f7318f Remove iOS 13/14 checks from Template/Onboarding/Authentication. 2022-05-11 09:49:24 +01:00
Doug e7458c83d8 Add AuthenticationService and RegistrationWizard. (#6056) 2022-04-27 16:02:54 +01:00