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
8 stars 18 forks source link

support cocopods #110

Closed LiangLuDev closed 4 months ago

LiangLuDev commented 4 months ago

Is your feature request related to a problem? Please describe.

Cannot be imported using cocopods

Describe the solution you'd like

Cannot be imported using cocopods

Describe alternatives you've considered

Cannot be imported using cocopods

Additional context

No response

phantumcode commented 4 months ago

@LiangLuDev Thanks for submitting your feature request. We currently don't have any plans to support cocoapods. Is there any particular reason you can integrate the Liveness component using SPM?

github-actions[bot] commented 4 months ago

This has been identified as a feature request. If this feature is important to you, we strongly encourage you to give a 👍 reaction on the request. This helps us prioritize new features most important to you. Thank you!

LiangLuDev commented 4 months ago

@LiangLuDev Thanks for submitting your feature request. We currently don't have any plans to support cocoapods. Is there any particular reason you can integrate the Liveness component using SPM?

I need to include this library in the xxx.podspec file of an iOS project within a Flutter plugin, but I'm not sure how to do it using other methods. If there is a better way, please recommend. Thank you.

phantumcode commented 4 months ago

@LiangLuDev Have you tried including the component via Swift Package Manager?

LiangLuDev commented 4 months ago

@LiangLuDev Have you tried including the component via Swift Package Manager?

Hello, I used to do Android development, I don't know much about iOS, I looked up some information, and tried to use smp in pods, I don't know if my operation is wrong? Is there any documentation I can refer to

MRJYL commented 4 months ago

If your project does not support SPM, you can try building a dynamic library and use it, I am using it in my project. @LiangLuDev

LiangLuDev commented 4 months ago

If your project does not support SPM, you can try building a dynamic library and use it, I am using it in my project. @LiangLuDev

兄弟你好,我想问一下动态库是什么形式的?你有现成的吗 可以加你联系方式吗

phantumcode commented 4 months ago

@LiangLuDev Here's a tutorial on how to use Swift Package Manager: https://www.kodeco.com/7242045-swift-package-manager-for-ios

LiangLuDev commented 4 months ago

@LiangLuDev Here's a tutorial on how to use Swift Package Manager: https://www.kodeco.com/7242045-swift-package-manager-for-ios

Hello, I need to turn this liveness function into a Flutter plugin, so I don't know how to use this function in the podspec file, or is there any way to use SPM in the Pod project. I don't want to use the liveness function in the main project.

phantumcode commented 4 months ago

Currently, you can integrate Swift Liveness component via platform channels in the main project https://docs.flutter.dev/platform-integration/platform-channels. We currently don't have any plans to add cocoapod support.

github-actions[bot] commented 4 months ago

⚠️COMMENT VISIBILITY WARNING⚠️

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.