Skip to content

React Native

How to install the Regula Face SDK.

Requirements

  • For iOS, the minimum target is iOS 11.0.

  • For Android, the minimum Android API level is 21.

Installation

The Face SDK is available on npm. Note that the SDK includes the essential Core framework that should be added to all projects.

Run the following command to add the SDK to the project:

npm install @regulaforensics/react-native-face-api
npm install @regulaforensics/react-native-face-core

Import the Face SDK

You should now be able to import face_api:

import FaceSDK from '@regulaforensics/react-native-face-api';
import FaceSDK from '@regulaforensics/react-native-face-core';

Info

You can always use our demo application: https://github.com/regulaforensics/react-native-face-api/