Nodeflux react native face liveness plugin
- Android SDK 21 - 30
npm install @nodeflux/react-native-face-liveness
import FaceLiveness from "@nodeflux/react-native-face-liveness";
// ...
const onPressLiveness = () => {
FaceLiveness.faceLiveness(
'ACCESS_KEY',
'SECRET_KEY',
(isLive, image, score) => {
console.log(isLive, image, score);
},
(errorMessage) => {
console.log(errorMessage);
}
);
}
// ...
Replace ACCESS_KEY
and SECRET_KEY
with your keys. You can get your key at here here
For more information visit here or you can contact us at here
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT