Skip to content

Commit 4816155

Browse files
authored
chore: kickoff release
2 parents c1b77dd + ed4aa76 commit 4816155

File tree

11 files changed

+477
-31
lines changed

11 files changed

+477
-31
lines changed

.github/workflows/build_liveness.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
uses: ./.github/composite_actions/run_xcodebuild
3131
with:
3232
scheme: FaceLiveness
33-
destination: 'platform=iOS Simulator,name=iPhone 15,OS=latest'
33+
destination: 'platform=iOS Simulator,name=iPhone 16 Pro Max,OS=18.5'
3434

3535
confirm-pass:
3636
runs-on: ubuntu-latest

.github/workflows/deploy_liveness.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
token: ${{steps.retrieve-token.outputs.token}}
6868

6969
- name: Setup Ruby
70-
uses: ruby/setup-ruby@22fdc77bf4148f810455b226c90fb81b5cbc00a7 # v1.171.0
70+
uses: ruby/setup-ruby@efbf473cab83af4468e8606cc33eca9281bb213f # v1.256.0
7171
with:
7272
ruby-version: '3.2.1'
7373
bundler-cache: true

.github/workflows/liveness_unit_tests.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ on:
1212
pull_request:
1313
branches: [ main ]
1414

15+
permissions:
16+
contents: read
17+
1518
jobs:
1619
test-iOS:
1720
name: Liveness iOS Unit Tests
@@ -27,5 +30,5 @@ jobs:
2730
with:
2831
scheme: FaceLiveness
2932
token: ${{ secrets.CODECOV_TOKEN }}
30-
destination: 'platform=iOS Simulator,name=iPhone 15,OS=latest'
33+
destination: 'platform=iOS Simulator,name=iPhone 16 Pro Max,OS=18.5'
3134
generate_coverage: true

HostApp/HostApp.xcodeproj/project.pbxproj

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -217,8 +217,6 @@
217217
A5A9AF5054D0FF13505B212A /* AmplifyConfig */ = {
218218
isa = PBXGroup;
219219
children = (
220-
973619242BA378690003A590 /* awsconfiguration.json */,
221-
973619232BA378690003A590 /* amplifyconfiguration.json */,
222220
);
223221
name = AmplifyConfig;
224222
sourceTree = "<group>";
@@ -536,7 +534,7 @@
536534
CODE_SIGN_STYLE = Automatic;
537535
CURRENT_PROJECT_VERSION = 1;
538536
DEVELOPMENT_ASSET_PATHS = "\"HostApp/Preview Content\"";
539-
DEVELOPMENT_TEAM = W3DRXD72QU;
537+
DEVELOPMENT_TEAM = N75V292K74;
540538
ENABLE_PREVIEWS = YES;
541539
GENERATE_INFOPLIST_FILE = YES;
542540
INFOPLIST_FILE = HostApp/Info.plist;
@@ -552,7 +550,7 @@
552550
"@executable_path/Frameworks",
553551
);
554552
MARKETING_VERSION = 1.0;
555-
PRODUCT_BUNDLE_IDENTIFIER = com.amazonaws.mobile.amplify.liveness.testing.hostapp;
553+
PRODUCT_BUNDLE_IDENTIFIER = com.aws.amplify.liveness.testing.hostapp;
556554
PRODUCT_NAME = "$(TARGET_NAME)";
557555
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG LANDMARK_DEBUG_MODE";
558556
SWIFT_EMIT_LOC_STRINGS = YES;
@@ -570,7 +568,7 @@
570568
CODE_SIGN_STYLE = Automatic;
571569
CURRENT_PROJECT_VERSION = 1;
572570
DEVELOPMENT_ASSET_PATHS = "\"HostApp/Preview Content\"";
573-
DEVELOPMENT_TEAM = W3DRXD72QU;
571+
DEVELOPMENT_TEAM = N75V292K74;
574572
ENABLE_PREVIEWS = YES;
575573
GENERATE_INFOPLIST_FILE = YES;
576574
INFOPLIST_FILE = HostApp/Info.plist;
@@ -586,7 +584,7 @@
586584
"@executable_path/Frameworks",
587585
);
588586
MARKETING_VERSION = 1.0;
589-
PRODUCT_BUNDLE_IDENTIFIER = com.amazonaws.mobile.amplify.liveness.testing.hostapp;
587+
PRODUCT_BUNDLE_IDENTIFIER = com.aws.amplify.liveness.testing.hostapp;
590588
PRODUCT_NAME = "$(TARGET_NAME)";
591589
SWIFT_EMIT_LOC_STRINGS = YES;
592590
SWIFT_VERSION = 5.0;

HostApp/HostApp.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved

Lines changed: 225 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

HostApp/HostApp/Views/ExampleLivenessView.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,8 @@ struct ExampleLivenessView: View {
9393
LivenessCheckErrorContentView.invalidSignature
9494
case .cameraNotAvailable:
9595
LivenessCheckErrorContentView.cameraNotAvailable
96+
case .validation:
97+
LivenessCheckErrorContentView.validation
9698
default:
9799
LivenessCheckErrorContentView.unexpected
98100
}

HostApp/HostApp/Views/LivenessCheckErrorContentView.swift

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,11 @@ extension LivenessCheckErrorContentView {
5555
name: "The signature on the request is invalid.",
5656
description: "Ensure the device time is correct and try again."
5757
)
58+
59+
static let validation = LivenessCheckErrorContentView(
60+
name: "The input fails to satisfy the constraints specified by the service.",
61+
description: "Please try again."
62+
)
5863

5964
static let cameraNotAvailable = LivenessCheckErrorContentView(
6065
name: "The camera could not be started.",

0 commit comments

Comments
 (0)