@exodus/react-native-facetec-zoom
unofficial react-native bridge for Facetec's Zoom SDK
Last updated 3 months ago by tenaciousmv .
MIT · Original npm · Tarball · package.json
$ cnpm install @exodus/react-native-facetec-zoom 
SYNC missed versions from official npm registry.

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

Current Tags

  • 2.0.1                                ...           latest (3 months ago)

1 Versions

  • 2.0.1                                ...           3 months ago

Copyright 2014 - 2017 © taobao.org |