How to add the SDK to the project?
This page covers the ways of adding SDK to your project
Document Reader libraries are available on npm.
First of all, install the Ionic wrapper:
1
$ ionic cordova plugin add @regulaforensics/ionic-native-document-reader
Copied!
Install API library, simply running the following command:
1
$ ionic cordova plugin add @regulaforensics/cordova-plugin-document-reader-api --variable CAMERA_USAGE_DESCRIPTION="To take photo" --variable READ_EXTERNAL_STORAGE="To choose photo"
Copied!
And then add one of the Core libraries depend on the functionality that you wish and the license capabilities:
    Install bounds library edition:
1
$ ionic cordova plugin add @regulaforensics/cordova-plugin-document-reader-core-bounds
Copied!
    Install mrz library edition:
1
$ ionic cordova plugin add @regulaforensics/cordova-plugin-document-reader-core-mrz
Copied!
    Install mrzrfid library edition:
1
$ ionic cordova plugin add @regulaforensics/cordova-plugin-document-reader-core-mrzrfid
Copied!
    Install barcode library edition:
1
$ ionic cordova plugin add @regulaforensics/cordova-plugin-document-reader-core-barcode
Copied!
    Install barcodemrz library edition:
1
$ ionic cordova plugin add @regulaforensics/cordova-plugin-document-reader-core-barcodemrz
Copied!
    Install barcodemrzrfid library edition:
1
$ ionic cordova plugin add @regulaforensics/cordova-plugin-document-reader-core-barcodemrzrfid
Copied!
    Install doctype library edition:
1
$ ionic cordova plugin add @regulaforensics/cordova-plugin-document-reader-core-doctype
Copied!
    Install ocrandmrz library edition:
1
$ ionic cordova plugin add @regulaforensics/cordova-plugin-document-reader-core-ocrandmrz
Copied!
    Install ocrandmrzrfid library edition:
1
$ ionic cordova plugin add @regulaforensics/cordova-plugin-document-reader-core-ocrandmrzrfid
Copied!
    Install full library edition:
1
$ ionic cordova plugin add @regulaforensics/cordova-plugin-document-reader-core-full
Copied!
    Install fullrfid library edition:
1
$ ionic cordova plugin add @regulaforensics/cordova-plugin-document-reader-core-fullrfid
Copied!
Last modified 10mo ago
Copy link