Package Exports
- @exodus/react-native-facetec-zoom
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@exodus/react-native-facetec-zoom) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
react-native-facetec-zoom
unofficial react-native bridge for Facetec's Zoom SDK.
Functions
- liveness detection
- ...TODO
Install
Common
npm i -S tradle/react-native-facetec-zoom
react-native link react-native-facetec-zoom
iOS
This library has been tested with version 8.1.0 of the SDK
First, download ZoomAuthentication.framework
from one of these sources:
Unzip the file, locate ZoomAuthentication.framework
, copy it to your ios/
directory, and drag it to your project in XCode (Check the Copy items if needed
option when asked)
Add a Copy File phase to your Xcode project and have ZoomAuthentication.framework
copied to Destination Frameworks
If you have an Objective-C project, add a blank Swift file to your project (File -> New -> Swift File), with a bridging header (it will prompt you to auto-create one).
add NSCameraUsageDescription
to your Info.plist, e.g.:
<key>NSCameraUsageDescription</key>
<string>verify liveness with Zoom</string>
Android
In your project's build.gradle (android/build.gradle), add the maven block below:
allprojects {
repositories {
// ...
maven {
url 'http://maven.facetec.com'
}
}
If you want to override the default version of the Zoom SDK, add:
```gradle
ext {
// ...
zoomSdkVersion = '7.0.11' // <--- whichever version you want to use
// ...
}
This module depends on [react-native-image-store](https://github.com/tradle/react-native-image-store), so you'll need to npm install and react-native link that one too.
## Usage
See example app at https://github.com/tradle/rnzoomexample