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
9 stars 20 forks source link

fix: close socket in background thread #64

Closed wind15973 closed 10 months ago

wind15973 commented 11 months ago

Issue #, if available:

61

Description of changes: Closing the socket in the main thread will cause UI blocking. Make sure to close the socket in the background thread.

Check points: (check or cross out if not relevant)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

phantumcode commented 10 months ago

Issue #61 has been resolved/closed