diff --git a/HostApp/HostApp.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved b/HostApp/HostApp.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved index 51a33701..2e1322ac 100644 --- a/HostApp/HostApp.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved +++ b/HostApp/HostApp.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -5,8 +5,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/aws-amplify/amplify-swift", "state" : { - "branch" : "feat/no-light-support", - "revision" : "22e02fa21399122aac1d8b4f6ab23c242c79dae6" + "branch" : "test/no-light-support", + "revision" : "6aabc94f91193397b4c57e2b2823dbca4dbc0477" } }, { @@ -50,8 +50,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/stephencelis/SQLite.swift.git", "state" : { - "revision" : "5f5ad81ac0d0a0f3e56e39e646e8423c617df523", - "version" : "0.13.2" + "revision" : "a95fc6df17d108bd99210db5e8a9bac90fe984b8", + "version" : "0.15.3" } }, { @@ -59,8 +59,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/apple/swift-log.git", "state" : { - "revision" : "e97a6fcb1ab07462881ac165fdbb37f067e205d5", - "version" : "1.5.4" + "revision" : "9cb486020ebf03bfa5b5df985387a14a98744537", + "version" : "1.6.1" } } ], diff --git a/Package.resolved b/Package.resolved index f850e8a9..2e1322ac 100644 --- a/Package.resolved +++ b/Package.resolved @@ -5,8 +5,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/aws-amplify/amplify-swift", "state" : { - "branch" : "feat/no-light-support", - "revision" : "1a5386d8d8e8e1edf631625c7bb6e003b2c0c821" + "branch" : "test/no-light-support", + "revision" : "6aabc94f91193397b4c57e2b2823dbca4dbc0477" } }, { diff --git a/Package.swift b/Package.swift index 446f12c0..01a52b9a 100644 --- a/Package.swift +++ b/Package.swift @@ -14,7 +14,7 @@ let package = Package( ], dependencies: [ // TODO: Change this before merge to main - .package(url: "https://github.com/aws-amplify/amplify-swift", branch: "feat/no-light-support") + .package(url: "https://github.com/aws-amplify/amplify-swift", branch: "test/no-light-support") ], targets: [ .target( diff --git a/Sources/FaceLiveness/Views/Liveness/FaceLivenessDetectionViewModel.swift b/Sources/FaceLiveness/Views/Liveness/FaceLivenessDetectionViewModel.swift index e83c7c22..76585726 100644 --- a/Sources/FaceLiveness/Views/Liveness/FaceLivenessDetectionViewModel.swift +++ b/Sources/FaceLiveness/Views/Liveness/FaceLivenessDetectionViewModel.swift @@ -204,6 +204,13 @@ class FaceLivenessDetectionViewModel: ObservableObject { withSessionID: sessionID, userAgent: UserAgentValues.standard().userAgentString, challenges: FaceLivenessSession.supportedChallenges, + + // light challenge + // challenges: [.init(version: "2.0.0", type: .faceMovementAndLightChallenge)], + + // no light challenge + // challenges: [.init(version: "1.0.0", type: .faceMovementChallenge)], + options: .init( attemptCount: Self.attemptCount, preCheckViewEnabled: isPreviewScreenEnabled)