@regulaforensics/ionic-native-document-reader 8.1.118-rc → 8.1.121-rc
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/example/package.json +2 -2
- package/example/src/app/home/home.page.ts +1 -1
- package/index.d.ts +7 -0
- package/index.js +2 -1
- package/ngx/index.d.ts +7 -0
- package/ngx/index.js +3 -2
- package/package.json +1 -1
- package/reactExample/package.json +2 -2
- package/reactExample/src/pages/Home.tsx +1 -1
package/example/package.json
CHANGED
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
},
|
|
14
14
|
"private": true,
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@regulaforensics/ionic-native-document-reader": "8.1.
|
|
17
|
-
"@regulaforensics/cordova-plugin-document-reader-api": "8.1.
|
|
16
|
+
"@regulaforensics/ionic-native-document-reader": "8.1.121-rc",
|
|
17
|
+
"@regulaforensics/cordova-plugin-document-reader-api": "8.1.143-rc",
|
|
18
18
|
"@regulaforensics/cordova-plugin-document-reader-core-fullauthrfid": "8.1.370-rc",
|
|
19
19
|
"cordova-plugin-camera": "7.0.0",
|
|
20
20
|
"@awesome-cordova-plugins/camera": "6.6.0",
|
|
@@ -255,7 +255,7 @@ export class HomePage {
|
|
|
255
255
|
function scan() {
|
|
256
256
|
var config = new ScannerConfig()
|
|
257
257
|
config.scenario = selectedScenario
|
|
258
|
-
DocumentReader.
|
|
258
|
+
DocumentReader.startScanner(config).subscribe((m: string) =>
|
|
259
259
|
handleCompletion(DocumentReaderCompletion.fromJson(JSON.parse(m))))
|
|
260
260
|
}
|
|
261
261
|
|
package/index.d.ts
CHANGED
|
@@ -6011,6 +6011,13 @@ export declare class DocumentReaderOriginal extends AwesomeCordovaNativePlugin {
|
|
|
6011
6011
|
* @return {Promise<any>} Returns a promise
|
|
6012
6012
|
*/
|
|
6013
6013
|
scan(config: ScannerConfig): Observable<any>;
|
|
6014
|
+
/**
|
|
6015
|
+
* Use this method to open the camera preview which will pass frames for recognition and return results in the completion block when they are ready
|
|
6016
|
+
*
|
|
6017
|
+
* @param {ScannerConfig} config
|
|
6018
|
+
* @return {Promise<any>} Returns a promise
|
|
6019
|
+
*/
|
|
6020
|
+
startScanner(config: ScannerConfig): Observable<any>;
|
|
6014
6021
|
/**
|
|
6015
6022
|
* Use this method to recognize images
|
|
6016
6023
|
*
|