This sample application and sample code are meant for example purposes. This example is not guaranteed to run out of the box as it may have been written for an older version of the FaceTec Browser SDK than we currently officially support for development purposes.
For experienced developers, this example should be enough to port the FaceTec Browser SDK into your own application. There may be some work required update the sample code to the very latest released "Browser/Web/JS" SDK, which can be downloaded here - https://dev.facetec.com/#/downloads.
This example is not recommended for production code. It is designed only to show the minimum coded needed to perform a Liveness check with the FaceTec Browser SDK.
Hopefully this is enough to get you going!
If you have any more technical questions or need assistance upgrading this library to the latest version of the FaceTec Browser SDK, please feel free to contact us at [email protected]
End Limited Support Notice
- node -v
- Angular requires a current, active LTS, or maintenance LTS version of Node.js https://nodejs.org/en/about/releases/
- npm install -g @angular/cli
- Install the Angular CLI
- Download the latest "Browser/JS SDK" from https://dev.facetec.com/#/downloads
- Copy the "core-sdk" folder from downloaded FaceTecSDK-browser-x.x.x folder and place it inside this project's "src/assets" folder.
- Open Config.js in the "assets" folder and replace the DeviceKeyIdentifier variable with the DeviceKeyIdentifier from your developer account page https://dev.facetec.com/#/account and save the file.
- Open terminal in this project's main folder.
- Run the following commands: npm install -- This command installs the necessary dependencies for building the app. ng serve --open -- This will start the sample app and watch for changes.