aws-amplify / amplify-ui

Amplify UI is a collection of accessible, themeable, performant React (and more!) components that can connect directly to the cloud.
https://ui.docs.amplify.aws
Apache License 2.0
909 stars 288 forks source link

FR (Liveness): Face Liveness in React Native #4636

Open finexusCriss opened 1 year ago

finexusCriss commented 1 year ago

On which framework/platform would you like to see this feature implemented?

React Native

Which UI component is this feature-request for?

Liveness

Please describe your feature-request in detail.

AWS Face Liveness in Swift is really good to use, however, I would like to implement it in my React Native project, but the bridging part is not so direct to do, will be really great if there's a ready to use React Native SDK for the Face Liveness too

Please describe a solution you'd like.

No response

We love contributors! Is this something you'd be interested in working on?

ayush987goyal commented 1 year ago

Hi @finexusCriss , thanks for the trying out Face Liveness components.

The Amplify Face Liveness Android (Kotlin) and iOS (Swift) SDKs can be integrated into ReactNative application by using Native-Modules . With Native modules, you can start a new activity (in Android) or a UIViewController (in iOS) to render the Amplify Liveness components.

finexusCriss commented 1 year ago

Hi @ayush987goyal ,thank you so much for the prompt reply, now I feel safe working towards the use of Native-Modules, previously was not sure if it work this way

reesscot commented 1 year ago

@finexusCriss Thank you for your feature request! While it is possible to integrate the Android / iOS SDK's into a React Native application, please note that this is not officially supported.

We will consider adding an official React Native component to our roadmap.

finexusCriss commented 1 year ago

Now I'm writing a React Native wrapper for the iOS part of AWS Face Liveness (I'm trying to make the AWS FaceLiveness available as a React Native library), however the import for FaceLiveness is giving No such module 'FaceLiveness',

Screenshot 2023-11-08 at 10 53 37 PM

I have added the dependency using Swift Package Manager to both the project and pods

image image

Will be great if I can have alternative on how I can add the dependency correctly to my self made React Native library, thank you.

valentinchelle commented 7 months ago

Any udpate on this?

reesscot commented 7 months ago

Hi @valentinchelle, Thank you for your interest, but this is currently not on our roadmap.

iransousa commented 6 months ago

I made my own module Liveness for react native on Swift and Kotlin and its working fine, if you need some help

joazvsoares commented 6 months ago

I made my own module Liveness for react native on Swift and Kotlin and its working fine, if you need some help

Hi @iransousa , I'm very interested to learn how you made it, do you have your module in github?

sanduluca commented 5 months ago

Hi @iransousa i am also interested in your solution

premjogi commented 5 months ago

Hi @iransousa , I'm very interested to learn how you made it, do you have your module in github?

Yes @iransousa I'm also wanted to know how you implemented in RN using NativeModules.

@iransousa @sanduluca @joazvsoares

premjogi commented 4 months ago

I made my own module Liveness for react native on Swift and Kotlin and its working fine, if you need some help

Hi @iransousa , I'm very interested to learn how you made it, do you have your module in github?

@iransousa @sanduluca @joazvsoares Can you please share your REPO for the reference?

manan-schmooze commented 2 months ago

Any updates on this? @iransousa if you could please share your implementation or maybe write a blog about it somewhere...?