amplify-ui icon indicating copy to clipboard operation
amplify-ui copied to clipboard

FR (Liveness): Face Liveness in React Native

Open finexusCriss opened this issue 1 year ago • 12 comments

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?

  • [ ] 👋 I may be able to implement this feature request.
  • [ ] ⚠️ This feature might incur a breaking change.

finexusCriss avatar Nov 06 '23 07:11 finexusCriss

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.

ayush987goyal avatar Nov 06 '23 08:11 ayush987goyal

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

finexusCriss avatar Nov 06 '23 08:11 finexusCriss

@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.

reesscot avatar Nov 06 '23 17:11 reesscot

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.

finexusCriss avatar Nov 08 '23 15:11 finexusCriss

Any udpate on this?

valentinchelle avatar Apr 04 '24 02:04 valentinchelle

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

reesscot avatar Apr 04 '24 16:04 reesscot

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

iransousa avatar May 04 '24 13:05 iransousa

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?

joazvsoares avatar May 07 '24 14:05 joazvsoares

Hi @iransousa i am also interested in your solution

sanduluca avatar May 29 '24 07:05 sanduluca

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 avatar May 29 '24 17:05 premjogi

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?

premjogi avatar Jun 15 '24 11:06 premjogi