JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 38
  • Score
    100M100P100Q55858F
  • License MIT

facetec module bridge

Package Exports

  • react-native-facetec

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 (react-native-facetec) 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

facetec module bridge

Installation

npm install react-native-facetec

Usage

import {
  init,
  enroll,
  authenticateUser,
  livenessCheck,
} from 'react-native-facetec';

init(
    () => {
    console.log('init success');
    },
    () => console.log('init fail')
);

enroll(
    (resp) => {
        console.log('enroll ' + resp);
    },
    (error) => console.log('enroll ' + error)
);

livenessCheck(
    (resp) => {
        console.log('livenessCheck ' + resp);
    },
    (error) => console.log('livenessCheck ' + error)
)

authenticateUser(
    (resp) => {
        console.log('authenticateUser ' + resp);
    },
    (error) => console.log('authenticateUser ' + error)
)

config

minSdkVersion = 19

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT