aws-amplify / amplify-ui-swift-liveness

This repository offers a UI component for Amazon Rekognition Face Liveness, enabling developers to ensure that only authentic users, and not bad actors using spoofs, can access their services.
https://ui.docs.amplify.aws/swift/connected-components/liveness
Apache License 2.0
10 stars 25 forks source link

amplify swift SDK for rekognition liveness issue: unexpected blue bar appeared on the screen #172

Open tsaoyangy opened 3 months ago

tsaoyangy commented 3 months ago

Describe the bug

when we tested with this sample: https://github.com/aws-amplify/amplify-ui-swift-liveness/issues/new/choose, with swift SDK version 1.3.2, which is the latest version, we noticed an unexpected blue bar appearing on the screen. we also tested Android SDK, and it works fine. mmexport1724233792790 dependency versions can be found below: mmexport1724235281952

Steps To Reproduce

Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

Expected behavior

no blue bar appeared on the screen

Swift Liveness Version

1.3.2

Xcode version

15.4

Relevant log output

<details>
<summary>Log Messages</summary>

INSERT LOG MESSAGES HERE



### Is this a regression?

No

### Regression additional context

_No response_

### OS Version

16.6

### Device

iphone 8

### Specific to simulators

_No response_

### Additional context

_No response_
phantumcode commented 3 months ago

The blue box is the placeholder text label for displaying instructional text during the liveness workflow. In some cases, it may be blank while determine current instructional text to display.

phantumcode commented 3 months ago

If you are unable to start the liveness workflow, you can take a look at the error code/message returned from the UI component when starting the workflow.

harsh62 commented 2 months ago

The issue could be possibly due to a whitespace in the pending check localized string. Team will investigate and provide further updates.