Commit Graph

12 Commits

Author SHA1 Message Date
ismailgulek 27857f98db 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 43c28d23b7 Configured and applied SwiftFormat 2022-09-27 12:55:44 +03:00
Doug 5394ed0f4a 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 31c9ac3ed2 Add identity server to AuthenticationState 2022-06-07 16:18:54 +03:00
ismailgulek 11d743a03e Fix PR remarks 2022-05-30 19:56:23 +03:00
ismailgulek c10064fb00 Show fallback on authentication coordinator 2022-05-27 17:49:54 +03:00
Doug e9484719ec Disable the next button whilst loading a server.
Add tests for login screen.
Self review.
2022-05-24 18:03:31 +01:00
Doug 6023eb59b7 Add AuthenticationHomeserverViewData to easily map AuthenticationState.Homeserver to a type in the SwiftUI target. 2022-05-24 15:47:25 +01:00
Doug 9b5b1312d9 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 7e4b67c57b Use ordered flow for matrix.org and (kind of) homeserver defined order otherwise. 2022-05-19 11:43:38 +01:00
Doug 9494c3ca80 Remove iOS 13/14 checks from Template/Onboarding/Authentication. 2022-05-11 09:49:24 +01:00
Doug abb8186a0a Add AuthenticationService and RegistrationWizard. (#6056) 2022-04-27 16:02:54 +01:00