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

App rejected for use of NSSpeechRecognitionUsageDescription #67

Closed ntnmrndn closed 11 months ago

ntnmrndn commented 11 months ago

Hello,

Since we started using face liveness, our builds are rejected due to not including the NSSpeechRecognitionUsageDescription string.

It looks like Amplify Liveness has a dependency on Amplify which in turns, uses the Speech library ( Amplify => AmplifyPlugins > CoreMLPredictionsPlugin ) Is there a way to better restrict which part of your libraries are included so that we don't need to add an unnecessary permission ?

phantumcode commented 11 months ago

@ntnmrndn Thanks for submitting your question. Unfortunately, that is a dependency that we can't remove and the current workaround is to add the usage description. Alternatively, you could fork Amplify Swift and remove CoreMLPredictionsPlugin if that simplifies your development.

phantumcode commented 11 months ago

Closing issue, please re-open if there are any additional issues or questions.