Skip to content

verisoul/react-native-facematch-sample-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-native-facematch-sample-app

Getting started

Put you api key in the headers. Make sure to use correct api key for the environment you are using.

let headers = {
    "x-api-key": "YOUR_API_KEY_HERE",
    "Content-Type": "application/json"
}

Install dependencies

npm install

Run the app via Expo either on a simulator or a physical device

npx expo start

ID Check

To run sample app with ID Check, simply add ?id=true parameter to the get session URL:

const faceAndIdSession = await fetch(`https://${API_URL}/liveness/session?id=true`, {
    method: 'GET',
    headers: headers,
})

Documentation

See FaceMatch docs for more information

About

React Native Facematch and ID Check Sample App

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published