@go.saffe/go-saffe-react-native
TypeScript icon, indicating that this package has built-in type declarations

1.2.0 • Public • Published

go-saffe-react-native

Package to render saffe capture

Installation

npm install @go.saffe/go-saffe-react-native

Usage

import SaffeCapture from "@go.saffe/go-saffe-react-native";

// ...
<SaffeCapture
  captureKey={} // capture key (sandbox or production)
  user={} // user identifier (either email or CPF)
  type={} // "onboarding" or "verification"
  endToEndId={} // identifier to keep consistency between front and backend
  onLoad={} // callback function called when component is loading
  onError={} // callback function called to catch error from component
  onClose={} // callback function called when end-user closes (cancels) the capture
  onFinish={} // callback function called when end-user finishes (completes) the capture
  onTimeout={} // callback function called when the capture ends for timeout
/>

Contributing

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

License

MIT


Package Sidebar

Install

npm i @go.saffe/go-saffe-react-native

Weekly Downloads

22

Version

1.2.0

License

MIT

Unpacked Size

27.2 kB

Total Files

17

Last publish

Collaborators

  • pedrovictorcruz
  • giovani-saffe