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
This commit is contained in:
ismailgulek
2022-10-06 18:05:46 +03:00
committed by GitHub
parent 01ebe6de55
commit 27857f98db
79 changed files with 4094 additions and 9 deletions
@@ -35,6 +35,12 @@ enum MockAppScreens {
MockAuthenticationForgotPasswordScreenState.self,
MockAuthenticationChoosePasswordScreenState.self,
MockAuthenticationSoftLogoutScreenState.self,
MockAuthenticationQRLoginStartScreenState.self,
MockAuthenticationQRLoginDisplayScreenState.self,
MockAuthenticationQRLoginScanScreenState.self,
MockAuthenticationQRLoginConfirmScreenState.self,
MockAuthenticationQRLoginLoadingScreenState.self,
MockAuthenticationQRLoginFailureScreenState.self,
MockOnboardingCelebrationScreenState.self,
MockOnboardingAvatarScreenState.self,
MockOnboardingDisplayNameScreenState.self,