0.3.8 • Published 4 years ago
react-native-facetec v0.3.8
react-native-facetec
facetec module bridge
Installation
npm install react-native-facetec
Usage
import {
init,
enroll,
authenticateUser,
livenessCheck,
} from 'react-native-facetec';
init(
() => {
console.log('init success');
},
() => console.log('init fail')
);
enroll(
'USER_ID',
(resp) => {
//JSON.parse(resp)
console.log('enroll ' + resp);
},
(error) => console.log('enroll ' + error)
);
livenessCheck(
(resp) => {
console.log('livenessCheck ' + resp);
},
(error) => console.log('livenessCheck ' + error)
)
authenticateUser(
'USER_ID',
(resp) => {
console.log('authenticateUser ' + resp);
},
(error) => console.log('authenticateUser ' + error)
)
CheckId(
'USER_ID',
(resp) => {
console.log('CheckId ' + resp);
let data = JSON.parse(params);
data.FrontImagesCompressedBase64 // front id image data:image/jpeg;base64
data.BackImagesCompressedBase64 // back id image data:image/jpeg;base64
},
(error) => console.log('CheckId ' + error)
)
config
minSdkVersion = 19
//Add your SDK key to ZoomGlobalState.java
public static String DeviceLicenseKeyIdentifier = "YOUR_API_KEY";
Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
MIT
TODO
IOS
0.3.8
4 years ago
0.3.7
4 years ago
0.3.6
4 years ago
0.3.4
5 years ago
0.3.3
5 years ago
0.3.2
5 years ago
0.3.1
5 years ago
0.3.0
5 years ago
0.2.1
5 years ago
0.2.0
5 years ago
0.1.9
5 years ago
0.1.8
5 years ago
0.1.7
5 years ago
0.1.6
5 years ago
0.1.5
5 years ago
0.1.4
5 years ago
0.1.3
5 years ago
0.1.2
5 years ago
0.1.1
5 years ago
0.1.0
5 years ago