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

not able to build iOS app in flutter project #85

Closed Robopicker closed 9 months ago

Robopicker commented 10 months ago

Hi Team, I am integrating aws-ui-swift-liveness in the Flutter app, I installed the dependencies using SPMs but when I am building an app on a real iPhone device it it takes forever time to build. Meanwhile, I have few questions on which I need some clarity as well. questions:-

  1. is it possible to download dependencies through Cocoapods? As far as I know, cocoapods is used in the Flutter app, and installing dependencies through SPM is not supported.
  2. is there any workaround for making things right with AWS liveness in Flutter projects?

building logs:- building logs.txt

Robopicker commented 10 months ago

this is the error I am getting everytime. RegisterExecutionPolicyException /Users/yogesh/Library/Developer/Xcode/DerivedData/Runner-cmobrqtbhrgecxfzmoeybbusxhpb/Build/Products/Debug-iphoneos/FaceLiveness.o (in target 'FaceLiveness' from project 'AmplifyUILiveness') cd /Users/yogesh/Desktop/amplify-ui-swift-liveness builtin-RegisterExecutionPolicyException /Users/yogesh/Library/Developer/Xcode/DerivedData/Runner-cmobrqtbhrgecxfzmoeybbusxhpb/Build/Products/Debug-iphoneos/FaceLiveness.o

yogeshelevn commented 10 months ago

@phantumcode please help me with this problem. I am still stuck on this issue. you help will save me lot of time and effort.

phantumcode commented 10 months ago

@Robopicker Thanks for submitting your issue. In regards to your question:

  1. We do not support Cocoapods
  2. Can you provide additional details or clarifications for what this means? "is there any workaround for making things right with AWS liveness in Flutter projects?" What issue or error are you running into and can you provide a sample app to help reproduce the issue?

For integrating native components in a Flutter app, please reference the following documentation:

Robopicker commented 9 months ago

@phantumcode Thanks for the info. I was able to successfully integrate aws amplify face verification. closing this issue.