Skip to content

Commit

Permalink
Merge branch 'aws-amplify:main' into Theming-for-UI
Browse files Browse the repository at this point in the history
  • Loading branch information
hunble authored Jan 14, 2025
2 parents 6b12c59 + 2f7f718 commit 6af2a80
Show file tree
Hide file tree
Showing 12 changed files with 35 additions and 28 deletions.
2 changes: 1 addition & 1 deletion .github/composite_actions/run_xcodebuild/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,5 @@ runs:
sudo xcode-select -s $XCODE_PATH
fi
xcodebuild -version
xcodebuild build -scheme $SCHEME -sdk '${{ inputs.sdk }}' -destination '${{ inputs.destination }}' ${{ inputs.other_flags }} | xcpretty --simple --color --report junit && exit ${PIPESTATUS[0]}
xcodebuild build -scheme $SCHEME -sdk '${{ inputs.sdk }}' -destination '${{ inputs.destination }}' ${{ inputs.other_flags }} | xcbeautify --renderer github-actions && exit ${PIPESTATUS[0]}
shell: bash
2 changes: 1 addition & 1 deletion .github/composite_actions/run_xcodebuild_test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ runs:
fi
xcode-select -p
xcodebuild -version
xcodebuild test -scheme $SCHEME -sdk '${{ inputs.sdk }}' -destination '${{ inputs.destination }}' ${{ inputs.other_flags }} $coverageFlags | xcpretty --simple --color --report junit && exit ${PIPESTATUS[0]}
xcodebuild test -scheme $SCHEME -sdk '${{ inputs.sdk }}' -destination '${{ inputs.destination }}' ${{ inputs.other_flags }} $coverageFlags | xcbeautify --renderer github-actions && exit ${PIPESTATUS[0]}
shell: bash

- name: Generate Coverage report
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_liveness.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
uses: ./.github/composite_actions/run_xcodebuild
with:
scheme: FaceLiveness
destination: 'platform=iOS Simulator,name=iPhone 14,OS=latest'
destination: 'platform=iOS Simulator,name=iPhone 15,OS=latest'

confirm-pass:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/liveness_unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ jobs:
with:
scheme: FaceLiveness
token: ${{ secrets.CODECOV_TOKEN }}
destination: 'platform=iOS Simulator,name=iPhone 14,OS=latest'
destination: 'platform=iOS Simulator,name=iPhone 15,OS=latest'
generate_coverage: true
2 changes: 1 addition & 1 deletion .github/workflows/release_kickoff.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ permissions:
jobs:
release:
name: Release
runs-on: macos-12
runs-on: macos-latest

steps:
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Changelog

## 1.3.4 (2025-01-13)

## 1.3.3 (2024-09-24)

## 1.3.2 (2024-08-20)
Expand Down
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" : {
"revision" : "95d8f16780c4e11a243fdae93c386195347aea66",
"version" : "2.42.1"
"revision" : "7b1d5ee05a23ea24c7458dffed1c563c8501042d",
"version" : "2.45.4"
}
},
{
Expand All @@ -23,26 +23,26 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/awslabs/aws-crt-swift",
"state" : {
"revision" : "7b42e0343f28b3451aab20840dc670abd12790bd",
"version" : "0.36.0"
"revision" : "3f844bef042cc0a4c3381f7090414ce3f9a7e935",
"version" : "0.37.0"
}
},
{
"identity" : "aws-sdk-swift",
"kind" : "remoteSourceControl",
"location" : "https://github.com/awslabs/aws-sdk-swift.git",
"state" : {
"revision" : "828358a2c39d138325b0f87a2d813f4b972e5f4f",
"version" : "1.0.0"
"revision" : "c6c1064da9bfccb119a7a8ab9ba636fb3bbfa6f5",
"version" : "1.0.47"
}
},
{
"identity" : "smithy-swift",
"kind" : "remoteSourceControl",
"location" : "https://github.com/smithy-lang/smithy-swift",
"state" : {
"revision" : "0ed3440f8c41e27a0937364d5035d2d4fefb8aa3",
"version" : "0.71.0"
"revision" : "3cd9f181b3ba8ff71da43bf53c09f8de6790a4ad",
"version" : "0.96.0"
}
},
{
Expand Down
1 change: 1 addition & 0 deletions HostApp/HostApp/HostAppApp.swift
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ struct HostAppApp: App {

init() {
do {
Amplify.Logging.logLevel = .verbose
let auth = AWSCognitoAuthPlugin()
let api = AWSAPIPlugin()
try Amplify.add(plugin: auth)
Expand Down
8 changes: 6 additions & 2 deletions HostApp/HostApp/Views/ExampleLivenessView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,12 @@ struct ExampleLivenessView: View {
viewModel.presentationState = .error(.invalidSignature)
case .failure(.cameraNotAvailable):
viewModel.presentationState = .error(.cameraNotAvailable)
default:
viewModel.presentationState = .liveness
case .failure(.validation):
viewModel.presentationState = .error(.validation)
case .failure(.faceInOvalMatchExceededTimeLimitError):
viewModel.presentationState = .error(.faceInOvalMatchExceededTimeLimitError)
case .failure(_):
viewModel.presentationState = .error(.unknown)
}
}
}
Expand Down
22 changes: 11 additions & 11 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" : {
"revision" : "95d8f16780c4e11a243fdae93c386195347aea66",
"version" : "2.42.1"
"revision" : "7b1d5ee05a23ea24c7458dffed1c563c8501042d",
"version" : "2.45.4"
}
},
{
Expand All @@ -23,26 +23,26 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/awslabs/aws-crt-swift",
"state" : {
"revision" : "7b42e0343f28b3451aab20840dc670abd12790bd",
"version" : "0.36.0"
"revision" : "3f844bef042cc0a4c3381f7090414ce3f9a7e935",
"version" : "0.37.0"
}
},
{
"identity" : "aws-sdk-swift",
"kind" : "remoteSourceControl",
"location" : "https://github.com/awslabs/aws-sdk-swift.git",
"location" : "https://github.com/awslabs/aws-sdk-swift",
"state" : {
"revision" : "828358a2c39d138325b0f87a2d813f4b972e5f4f",
"version" : "1.0.0"
"revision" : "c6c1064da9bfccb119a7a8ab9ba636fb3bbfa6f5",
"version" : "1.0.47"
}
},
{
"identity" : "smithy-swift",
"kind" : "remoteSourceControl",
"location" : "https://github.com/smithy-lang/smithy-swift",
"state" : {
"revision" : "0ed3440f8c41e27a0937364d5035d2d4fefb8aa3",
"version" : "0.71.0"
"revision" : "3cd9f181b3ba8ff71da43bf53c09f8de6790a4ad",
"version" : "0.96.0"
}
},
{
Expand All @@ -59,8 +59,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-log.git",
"state" : {
"revision" : "9cb486020ebf03bfa5b5df985387a14a98744537",
"version" : "1.6.1"
"revision" : "96a2f8a0fa41e9e09af4585e2724c4e825410b91",
"version" : "1.6.2"
}
}
],
Expand Down
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ let package = Package(
targets: ["FaceLiveness"]),
],
dependencies: [
.package(url: "https://github.com/aws-amplify/amplify-swift", exact: "2.42.1")
.package(url: "https://github.com/aws-amplify/amplify-swift", exact: "2.45.4")
],
targets: [
.target(
Expand Down
2 changes: 1 addition & 1 deletion Sources/FaceLiveness/Utilities/UserAgent.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import InternalAmplifyCredentials

struct UserAgentValues {

static let libVersion = "1.3.3"
static let libVersion = "1.3.4"
static let libName = "amplify-ui-swift-face-liveness"

let amplifyVersion: String
Expand Down

0 comments on commit 6af2a80

Please sign in to comment.