Neurosis Prevention Mechanism

    cozy-scanner

    2.0.5 • 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}`)

    Keywords

    none

    Install

    npm i cozy-scanner

    DownloadsWeekly Downloads

    17

    Version

    2.0.5

    License

    MIT

    Unpacked Size

    188 kB

    Total Files

    50

    Last publish

    Collaborators

    • mycozycloud