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
783 stars 256 forks source link

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

Open finexusCriss opened 8 months ago

finexusCriss commented 8 months 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 8 months 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 8 months 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 8 months 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 8 months 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 3 months ago

Any udpate on this?

reesscot commented 3 months ago

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

iransousa commented 2 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 2 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 1 month ago

Hi @iransousa i am also interested in your solution

premjogi commented 1 month 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 3 weeks 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?