Skip to content

Commit

Permalink
update test branch dependency and add code for choosing challenge type
Browse files Browse the repository at this point in the history
  • Loading branch information
thisisabhash committed Jul 2, 2024
1 parent 49b620c commit f2e8a7e
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
},
{
Expand Down Expand Up @@ -50,17 +50,17 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/stephencelis/SQLite.swift.git",
"state" : {
"revision" : "5f5ad81ac0d0a0f3e56e39e646e8423c617df523",
"version" : "0.13.2"
"revision" : "a95fc6df17d108bd99210db5e8a9bac90fe984b8",
"version" : "0.15.3"
}
},
{
"identity" : "swift-log",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-log.git",
"state" : {
"revision" : "e97a6fcb1ab07462881ac165fdbb37f067e205d5",
"version" : "1.5.4"
"revision" : "9cb486020ebf03bfa5b5df985387a14a98744537",
"version" : "1.6.1"
}
}
],
Expand Down
4 changes: 2 additions & 2 deletions Package.resolved
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f2e8a7e

Please sign in to comment.