cozy-scanner

7.1.4 • Public • Published

Cozy Scanner

Cozy-Scanner provides a component to take a picture of a document and describe it

Installation

Cozy-Scanner requires :

  • a cordova plugin : cordova plugin add https://github.com/cozy/cordova-plugin-camera.git#bf519ca009eeaec3a47237ee07a09d515cc733df
  • At least Cozy-UI 25.7
  • Cozy-Doctypes

Since Cozy-Scanner uses a few Alerter you also have to put <Alerter /> (from Cozy-UI) somewhere in your React Tree.

Translation

If you need to access to the translated categories, you can use getBoundT helper

import { getBoundT } from 'cozy-scanner'
...
const scannerT = getBoundT(lang) //lang coming from cozy-ui translate()
scannerT(`Scan.items.${file.metadata.label}`)

Readme

Keywords

none

Package Sidebar

Install

npm i cozy-scanner

Weekly Downloads

135

Version

7.1.4

License

MIT

Unpacked Size

212 kB

Total Files

50

Last publish

Collaborators

  • mycozycloud