Regula Document Reader

Contents

Plugin for reading and validation of identification documents.

https://github.com/regulaforensics/cordova-plugin-documentreader.git

Ionic Regula Document Reader插件的安装(Installation)

ionic cordova plugin add cordova-plugin-documentreader npm install @ionic-native/regula-document-reader

Ionic Regula Document Reader插件支持的平台(Supported Platforms)

  • iOS
  • Android

Ionic Regula Document Reader插件的用法(Usage)

import { RegulaDocumentReader } from '@ionic-native/regula-document-reader';

let license; // read regula.license file
RegulaDocumentReader.initReader(license); // initialize reader
RegulaDocumentReader.scanDocument().then((result) => {
        // read result
})