diff --git a/Sources/FaceLiveness/Views/GetReadyPage/CameraPreviewViewModel.swift b/Sources/FaceLiveness/Views/GetReadyPage/CameraPreviewViewModel.swift index 5a9bcbc8..db408664 100644 --- a/Sources/FaceLiveness/Views/GetReadyPage/CameraPreviewViewModel.swift +++ b/Sources/FaceLiveness/Views/GetReadyPage/CameraPreviewViewModel.swift @@ -33,7 +33,8 @@ class CameraPreviewViewModel: NSObject, ObservableObject { ) do { - try previewCaptureSession?.startSession() + try previewCaptureSession?.configureCamera() + previewCaptureSession?.startSession() } catch { Amplify.Logging.default.error("Error starting preview capture session with error: \(error)") }