aws-amplify/amplify-swift

Not able to restart liveliness check when confidence received 0.0

Closed this issue · 3 comments

Describe the bug

I did amplify liveliness test for unAuth role, and after successfully check, the UI shows "verifying". When I fetch the result, I get confidence as 0.0. So, when I re-run the app, I am not getting the liveliness check again and I see same session "Session exists, checking validity" also, I see an entry in keychain.
Need help how to retry?
But it works fine when I delete the app and re-install

Steps To Reproduce

Steps to reproduce the behavior:
1. Run the liveliness check - for UnAuth role
2. Fetch the result
3. Confidence should come as 0.0
4. re-run the app

Expected behavior

Liveliness check should start again

Amplify Framework Version

1.3.0

Amplify Categories

Auth, Predictions

Dependency manager

Swift PM

Swift version

5

CLI version

12.12.4

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

Platforms

No response

OS Version

17.5

Device

iPhone 11 Pro

Specific to simulators

No response

Additional context

No response

Hi @dhananjaykumardubey, can you clarify

  1. the dependencies you are using, such as https://github.com/aws-amplify/amplify-ui-swift-liveness and versions, Amplify and version.
  2. Code snippet from your steps to reproduce, such as how to reproduce the "Run the liveliness check - for UnAuth role" in code

This issue is now closed. Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

This issue is now closed. Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.