From 5e1429c80118252d76513dee4263500d886d6f94 Mon Sep 17 00:00:00 2001 From: Max Lynch Date: Mon, 13 Sep 2021 17:09:10 -0500 Subject: [PATCH] Removed regula-document-reader - niche --- .../plugins/regula-document-reader/index.ts | 47 ------------------- 1 file changed, 47 deletions(-) delete mode 100644 src/@ionic-native/plugins/regula-document-reader/index.ts diff --git a/src/@ionic-native/plugins/regula-document-reader/index.ts b/src/@ionic-native/plugins/regula-document-reader/index.ts deleted file mode 100644 index d7afc788..00000000 --- a/src/@ionic-native/plugins/regula-document-reader/index.ts +++ /dev/null @@ -1,47 +0,0 @@ -import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core'; - -/** - * @paid - * @beta - * @name Regula Document Reader - * @description - * Plugin for reading and validation of identification documents. - * - * @usage - * ```typescript - * import { RegulaDocumentReader } from '@ionic-native/regula-document-reader/ngx'; - * - * let license; // read regula.license file - * RegulaDocumentReader.initReader(license); // initialize reader - * RegulaDocumentReader.scanDocument().then((result) => { - * // read result - * }) - * ``` - */ -@Plugin({ - pluginName: 'Regula Document Reader', - plugin: 'cordova-plugin-documentreader', - pluginRef: 'DocumentReader', - repo: 'https://github.com/regulaforensics/cordova-plugin-documentreader.git', - platforms: ['iOS', 'Android'], - install: 'ionic plugin add cordova-plugin-documentreader --variable CAMERA_USAGE_DESCRIPTION="To take photo"', -}) -@Injectable() -export class RegulaDocumentReader extends IonicNativePlugin { - /** - * Initialize the scanner - * @param license {any} License data - */ - @Cordova() - initReader(license: any): void {} - - /** - * Run the scanner - * @return {Promise} Returns a promise that resolves when results was got, and fails when not - */ - @Cordova() - scanDocument(): Promise { - return; - } -}